ext: protoize no-arguments functions

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2014-10-04 23:09:32 +00:00
parent 02be147c8a
commit 5540c1de81
10 changed files with 13 additions and 13 deletions

View file

@ -2092,7 +2092,7 @@ static VALUE cParser_parse(VALUE self)
}
static JSON_Parser *JSON_allocate()
static JSON_Parser *JSON_allocate(void)
{
JSON_Parser *json = ALLOC(JSON_Parser);
MEMZERO(json, JSON_Parser, 1);
@ -2145,7 +2145,7 @@ static VALUE cParser_quirks_mode_p(VALUE self)
}
void Init_parser()
void Init_parser(void)
{
rb_require("json/common");
mJSON = rb_define_module("JSON");