Commit 2109a99e authored by Masaki Muranaka's avatar Masaki Muranaka

Add void to function parameters. This is for compatibility with C++

parent 5c510180
......@@ -55,7 +55,7 @@ irep_free(size_t sirep, mrb_state *mrb)
}
static size_t
offset_crc_body()
offset_crc_body(void)
{
struct rite_binary_header header;
return ((uint8_t *)header.binary_crc - (uint8_t *)&header) + sizeof(header.binary_crc);
......
......@@ -171,7 +171,7 @@ mrb_pool_realloc(mrb_pool *pool, void *p, size_t oldlen, size_t newlen)
#ifdef TEST_POOL
int
main()
main(void)
{
int i, len = 250;
mrb_pool *pool;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment