summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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