From 2c3a28e411bdf51e045ee207bc8a48aac42475dc Mon Sep 17 00:00:00 2001 From: Esun Kim Date: Tue, 30 Jul 2019 17:16:50 -0700 Subject: Add -Wstrict-prototypes option --- upb/pb/encoder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'upb/pb/encoder.h') 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" { */ -- cgit v1.2.3