From 8978661a76eac16bff008a479958b38f358e9262 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Mon, 28 Dec 2009 18:10:53 -0800 Subject: upbc compiles, but doesn't link due to unimplemented stuff in upb_data. --- src/upb_data.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/upb_data.h b/src/upb_data.h index ea59ac7..ac886fe 100644 --- a/src/upb_data.h +++ b/src/upb_data.h @@ -160,8 +160,6 @@ INLINE bool _upb_data_unref(upb_data *d) { } } -struct upb_mmhead {}; - /* upb_string *****************************************************************/ typedef uint32_t upb_strlen_t; @@ -248,7 +246,7 @@ INLINE const char *upb_string_getrobuf(upb_string *s) { } // Returns the current length of the string. -INLINE size_t upb_strlen(upb_string *s) { +INLINE upb_strlen_t upb_strlen(upb_string *s) { return s->common.byte_len; } -- cgit v1.2.3