summaryrefslogtreecommitdiff
path: root/ext/json/parser/parser.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-04 23:29:24 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-04 23:29:24 +0000
commitba0655ebdd31e5e6b9ae8ede328733067a68dcbc (patch)
tree70110dc331553c9f3ff47a9ab3b479ab56b7090e /ext/json/parser/parser.h
parent5540c1de81f69e160c2302e56e4957147f240450 (diff)
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.h2
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);