summaryrefslogtreecommitdiff
path: root/src/upb_string.h
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-08-15 22:10:07 -0700
committerJoshua Haberman <joshua@reverberate.org>2009-08-15 22:10:07 -0700
commit1e82f0ebd6ae0de251ec6c3cac0544d96d973f1b (patch)
tree0333d9ff6b32e7ff5c66fc20ec5dba912ab7d772 /src/upb_string.h
parent7fa19a3f958c9a2ed7387cb373f0aa7bba707922 (diff)
A few more thread-safety fixes.
Diffstat (limited to 'src/upb_string.h')
-rw-r--r--src/upb_string.h2
1 files changed, 1 insertions, 1 deletions
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);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback