change return value of mrb_free from void* to void

This commit is contained in:
Yukihiro "Matz" Matsumoto
2013-04-29 09:12:44 +09:00
parent 975d52d804
commit b6fc3f831d
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -197,10 +197,10 @@ mrb_calloc(mrb_state *mrb, size_t nelem, size_t len)
return p;
}
void*
void
mrb_free(mrb_state *mrb, void *p)
{
return (mrb->allocf)(mrb, p, 0, mrb->ud);
(mrb->allocf)(mrb, p, 0, mrb->ud);
}
#ifndef MRB_HEAP_PAGE_SIZE