summaryrefslogtreecommitdiff
path: root/src/upb_string.h
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2010-06-10 09:14:31 -0700
committerJoshua Haberman <joshua@reverberate.org>2010-06-10 09:14:31 -0700
commit563325435753fae01d2b45cceba8b9d14c8a7aad (patch)
treef4ce7aab922308d0f2f6a2d7cb742e76b3b791d3 /src/upb_string.h
parent5743636ad19eafb11eddeefd29f2803052dadff2 (diff)
Implement proper type checking again.
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 9a3957c..eab7f54 100644
--- a/src/upb_string.h
+++ b/src/upb_string.h
@@ -70,7 +70,7 @@ INLINE upb_strlen_t upb_string_len(upb_string *str) { return str->len; }
// upb_string_endread is called(). No other functions may be called on the
// string during this window except upb_string_len().
INLINE const char *upb_string_getrobuf(upb_string *str) { return str->ptr; }
-INLINE void upb_string_endread(upb_string *str);
+INLINE void upb_string_endread(upb_string *str) {}
// Attempts to recycle the string "str" so it may be reused and have different
// data written to it. The returned string is either "str" if it could be
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback