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_string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/upb_string.h') diff --git a/src/upb_string.h b/src/upb_string.h index 7b63f1c..9740a0b 100644 --- a/src/upb_string.h +++ b/src/upb_string.h @@ -60,7 +60,7 @@ INLINE void upb_struninit(struct upb_string *str) if(str->byte_size) free(str->ptr); } -INLINE struct upb_string *upb_strnew() +INLINE struct upb_string *upb_strnew(void) { struct upb_string *str = (struct upb_string*)malloc(sizeof(*str)); upb_strinit(str); -- cgit v1.2.3