summaryrefslogtreecommitdiff
path: root/upb/json
diff options
context:
space:
mode:
Diffstat (limited to 'upb/json')
-rw-r--r--upb/json/parser.h2
-rw-r--r--upb/json/parser.rl2
2 files changed, 2 insertions, 2 deletions
diff --git a/upb/json/parser.h b/upb/json/parser.h
index c063a77..d323c52 100644
--- a/upb/json/parser.h
+++ b/upb/json/parser.h
@@ -113,7 +113,7 @@ typedef struct upb_json_codecache upb_json_codecache;
extern "C" {
#endif
-upb_json_codecache *upb_json_codecache_new();
+upb_json_codecache *upb_json_codecache_new(void);
void upb_json_codecache_free(upb_json_codecache *cache);
const upb_json_parsermethod* upb_json_codecache_get(upb_json_codecache* cache,
const upb_msgdef* md);
diff --git a/upb/json/parser.rl b/upb/json/parser.rl
index f80ed18..e026c3e 100644
--- a/upb/json/parser.rl
+++ b/upb/json/parser.rl
@@ -2958,7 +2958,7 @@ const upb_byteshandler *upb_json_parsermethod_inputhandler(
return &m->input_handler_;
}
-upb_json_codecache *upb_json_codecache_new() {
+upb_json_codecache *upb_json_codecache_new(void) {
upb_alloc *alloc;
upb_json_codecache *c;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback