From d5566c6038845e505f7c16130b2368ef9bb3a373 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Fri, 15 Jan 2010 19:11:54 -0800 Subject: Remove struct keyword from all types, use typedef instead. --- benchmarks/parsetostruct.upb_table.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'benchmarks') diff --git a/benchmarks/parsetostruct.upb_table.c b/benchmarks/parsetostruct.upb_table.c index 72799e4..494d5b7 100644 --- a/benchmarks/parsetostruct.upb_table.c +++ b/benchmarks/parsetostruct.upb_table.c @@ -5,9 +5,9 @@ #include "upb_def.h" #include "upb_decoder.h" -static struct upb_symtab *s; +static upb_symtab *s; static upb_strptr str; -static struct upb_msgdef *def; +static upb_msgdef *def; static upb_msg *msgs[NUM_MESSAGES]; static upb_decoder *decoder; static upb_msgsink *sink; @@ -15,7 +15,7 @@ static upb_msgsink *sink; static bool initialize() { // Initialize upb state, decode descriptor. - struct upb_status status = UPB_STATUS_INIT; + upb_status status = UPB_STATUS_INIT; s = upb_symtab_new(); upb_strptr fds = upb_strreadfile(MESSAGE_DESCRIPTOR_FILE); if(upb_string_isnull(fds)) { @@ -66,7 +66,7 @@ static void cleanup() static size_t run(int i) { - struct upb_status status = UPB_STATUS_INIT; + upb_status status = UPB_STATUS_INIT; upb_msg *msg = msgs[i%NUM_MESSAGES]; upb_msgsink_reset(sink, msg); upb_decoder_reset(decoder, upb_msgsink_sink(sink)); -- cgit v1.2.3