Skip to content

Commit 522f658

Browse files
committed
remove unnecessary Inline keyword
Oddly, when building with msvc (19.44), the linking fails only while disabling optimization (using the /Od option). ``` linking miniruby.exe Creating library miniruby.lib and object miniruby.exp set.obj : error LNK2019: unresolved external symbol rb_set_keys referenced in function set_i_to_a miniruby.exe : fatal error LNK1120: 1 unresolved externals ```
1 parent bb472c5 commit 522f658

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

st.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3268,7 +3268,7 @@ set_foreach_check(set_table *tab, set_foreach_check_callback_func *func, st_data
32683268

32693269
/* Set up array KEYS by at most SIZE keys of head table TAB entries.
32703270
Return the number of keys set up in array KEYS. */
3271-
inline st_index_t
3271+
st_index_t
32723272
set_keys(set_table *tab, st_data_t *keys, st_index_t size)
32733273
{
32743274
st_index_t i, bound;

0 commit comments

Comments
 (0)