summaryrefslogtreecommitdiff
path: root/upb/upb.h
diff options
context:
space:
mode:
Diffstat (limited to 'upb/upb.h')
-rw-r--r--upb/upb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/upb/upb.h b/upb/upb.h
index 7b5d1c1..11aa38c 100644
--- a/upb/upb.h
+++ b/upb/upb.h
@@ -222,7 +222,7 @@ UPB_INLINE void *upb_arena_realloc(upb_arena *a, void *ptr, size_t oldsize,
return upb_realloc(upb_arena_alloc(a), ptr, oldsize, size);
}
-UPB_INLINE upb_arena *upb_arena_new() {
+UPB_INLINE upb_arena *upb_arena_new(void) {
return upb_arena_init(NULL, 0, &upb_alloc_global);
}
@@ -287,7 +287,7 @@ template <int N> class upb::InlinedArena : public upb::Arena {
/* Constants ******************************************************************/
/* Generic function type. */
-typedef void upb_func();
+typedef void upb_func(void);
/* A list of types as they are encoded on-the-wire. */
typedef enum {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback