diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-10-04 23:29:24 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-10-04 23:29:24 +0000 |
commit | ba0655ebdd31e5e6b9ae8ede328733067a68dcbc (patch) | |
tree | 70110dc331553c9f3ff47a9ab3b479ab56b7090e /ext/json/parser/parser.h | |
parent | 5540c1de81f69e160c2302e56e4957147f240450 (diff) | |
download | ruby-ba0655ebdd31e5e6b9ae8ede328733067a68dcbc.tar.gz |
ext: protoize no-arguments functions
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/json/parser/parser.h')
-rw-r--r-- | ext/json/parser/parser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/json/parser/parser.h b/ext/json/parser/parser.h index b192064c09..d600037da5 100644 --- a/ext/json/parser/parser.h +++ b/ext/json/parser/parser.h @@ -68,7 +68,7 @@ static char *JSON_parse_string(JSON_Parser *json, char *p, char *pe, VALUE *resu static VALUE convert_encoding(VALUE source); static VALUE cParser_initialize(int argc, VALUE *argv, VALUE self); static VALUE cParser_parse(VALUE self); -static JSON_Parser *JSON_allocate(); +static JSON_Parser *JSON_allocate(void); static void JSON_mark(JSON_Parser *json); static void JSON_free(JSON_Parser *json); static VALUE cJSON_parser_s_allocate(VALUE klass); |