From 563325435753fae01d2b45cceba8b9d14c8a7aad Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Thu, 10 Jun 2010 09:14:31 -0700 Subject: Implement proper type checking again. --- 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 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 -- cgit v1.2.3