diff options
author | Joshua Haberman <joshua@reverberate.org> | 2010-01-15 19:11:54 -0800 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2010-01-15 19:11:54 -0800 |
commit | d5566c6038845e505f7c16130b2368ef9bb3a373 (patch) | |
tree | bf808b4ef5d0391a9d6ed3be9247d3e0f7ce5cef /src/upb.c | |
parent | 9116c697f845e7ca215628029800c36f7dfbfaee (diff) |
Remove struct keyword from all types, use typedef instead.
Diffstat (limited to 'src/upb.c')
-rw-r--r-- | src/upb.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,7 +15,7 @@ [GOOGLE_PROTOBUF_FIELDDESCRIPTORPROTO_TYPE_ ## proto_type] = \ {alignof(ctype), sizeof(ctype), wire_type, #ctype}, -struct upb_type_info upb_type_info[] = { +upb_type_info upb_types[] = { TYPE_INFO(DOUBLE, UPB_WIRE_TYPE_64BIT, double) TYPE_INFO(FLOAT, UPB_WIRE_TYPE_32BIT, float) TYPE_INFO(INT64, UPB_WIRE_TYPE_VARINT, int64_t) @@ -36,7 +36,7 @@ struct upb_type_info upb_type_info[] = { TYPE_INFO(BYTES, UPB_WIRE_TYPE_DELIMITED, union upb_string*) }; -void upb_seterr(struct upb_status *status, enum upb_status_code code, +void upb_seterr(upb_status *status, enum upb_status_code code, const char *msg, ...) { if(upb_ok(status)) { // The first error is the most interesting. |