summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hash.c b/src/hash.c
index 28e718c0d..371ac777a 100644
--- a/src/hash.c
+++ b/src/hash.c
@@ -18,7 +18,7 @@
#include <stdio.h>
-static khint_t
+static inline khint_t
mrb_hash_ht_hash_func(mrb_state *mrb, mrb_value key)
{
char type = mrb_type(key);
@@ -28,7 +28,7 @@ mrb_hash_ht_hash_func(mrb_state *mrb, mrb_value key)
return kh_str_hash_func(mrb, RSTRING_PTR(s1));
}
-static khint_t
+static inline khint_t
mrb_hash_ht_hash_equal(mrb_state *mrb, mrb_value a, mrb_value b)
{
return mrb_equal(mrb, a, b);