summaryrefslogtreecommitdiff
path: root/upb/pb/encoder.h
diff options
context:
space:
mode:
authorEsun Kim <veblush@google.com>2019-07-30 17:16:50 -0700
committerEsun Kim <veblush@google.com>2019-07-30 18:32:08 -0700
commit2c3a28e411bdf51e045ee207bc8a48aac42475dc (patch)
treed2a70e88d1a55ba51b619146e688fbb4f1c506fc /upb/pb/encoder.h
parent76d75aec66e1e6f173f3b6668601108ed453f3d3 (diff)
Add -Wstrict-prototypes option
Diffstat (limited to 'upb/pb/encoder.h')
-rw-r--r--upb/pb/encoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/upb/pb/encoder.h b/upb/pb/encoder.h
index 1113c3a..f125b37 100644
--- a/upb/pb/encoder.h
+++ b/upb/pb/encoder.h
@@ -45,7 +45,7 @@ upb_pb_encoder* upb_pb_encoder_create(upb_arena* a, const upb_handlers* h,
/* Lazily builds and caches handlers that will push encoded data to a bytessink.
* Any msgdef objects used with this object must outlive it. */
-upb_handlercache *upb_pb_encoder_newcache();
+upb_handlercache *upb_pb_encoder_newcache(void);
#ifdef __cplusplus
} /* extern "C" { */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback