diff options
author | Joshua Haberman <joshua@reverberate.org> | 2009-08-15 22:10:07 -0700 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2009-08-15 22:10:07 -0700 |
commit | 1e82f0ebd6ae0de251ec6c3cac0544d96d973f1b (patch) | |
tree | 0333d9ff6b32e7ff5c66fc20ec5dba912ab7d772 /src/upb_string.h | |
parent | 7fa19a3f958c9a2ed7387cb373f0aa7bba707922 (diff) |
A few more thread-safety fixes.
Diffstat (limited to 'src/upb_string.h')
-rw-r--r-- | src/upb_string.h | 2 |
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); |