Merge pull request #4376 from dearblue/leak-symbols

Fix leaked function symbols
This commit is contained in:
Yukihiro "Matz" Matsumoto
2019-04-14 20:35:19 +09:00
committed by GitHub
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -399,7 +399,7 @@ mrb_gc_init(mrb_state *mrb, mrb_gc *gc)
static void obj_free(mrb_state *mrb, struct RBasic *obj, int end);
void
static void
free_heap(mrb_state *mrb, mrb_gc *gc)
{
mrb_heap_page *page = gc->heaps;
+1 -1
View File
@@ -91,7 +91,7 @@ sym_inline_unpack(mrb_sym sym, char *buf, mrb_int *lenp)
}
#endif
uint8_t
static uint8_t
symhash(const char *key, size_t len)
{
uint32_t hash, i;