summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-12-28 18:10:53 -0800
committerJoshua Haberman <joshua@reverberate.org>2009-12-28 18:10:53 -0800
commit8978661a76eac16bff008a479958b38f358e9262 (patch)
tree106e8a1b7a75b93428c0b1cdadf7448b56f19626 /src
parente5debfa1c99757ad08bccd834b9596a4f5e97adb (diff)
upbc compiles, but doesn't link due to unimplemented stuff in upb_data.
Diffstat (limited to 'src')
-rw-r--r--src/upb_data.h4
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;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback