diff options
author | Joshua Haberman <joshua@reverberate.org> | 2009-12-28 18:10:53 -0800 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2009-12-28 18:10:53 -0800 |
commit | 8978661a76eac16bff008a479958b38f358e9262 (patch) | |
tree | 106e8a1b7a75b93428c0b1cdadf7448b56f19626 /src | |
parent | e5debfa1c99757ad08bccd834b9596a4f5e97adb (diff) |
upbc compiles, but doesn't link due to unimplemented stuff in upb_data.
Diffstat (limited to 'src')
-rw-r--r-- | src/upb_data.h | 4 |
1 files changed, 1 insertions, 3 deletions
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; } |