From 1e82f0ebd6ae0de251ec6c3cac0544d96d973f1b Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Sat, 15 Aug 2009 22:10:07 -0700 Subject: A few more thread-safety fixes. --- src/upb_array.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/upb_array.h') diff --git a/src/upb_array.h b/src/upb_array.h index 65d44bb..370f6eb 100644 --- a/src/upb_array.h +++ b/src/upb_array.h @@ -55,7 +55,7 @@ INLINE void upb_array_uninit(struct upb_array *arr) if(arr->size) free(arr->elements._void); } -INLINE struct upb_array *upb_array_new() { +INLINE struct upb_array *upb_array_new(void) { struct upb_array *arr = malloc(sizeof(*arr)); upb_array_init(arr); return arr; -- cgit v1.2.3