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_decoder.h | |
parent | 9116c697f845e7ca215628029800c36f7dfbfaee (diff) |
Remove struct keyword from all types, use typedef instead.
Diffstat (limited to 'src/upb_decoder.h')
-rw-r--r-- | src/upb_decoder.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/upb_decoder.h b/src/upb_decoder.h index 4251fda..b84c149 100644 --- a/src/upb_decoder.h +++ b/src/upb_decoder.h @@ -32,7 +32,7 @@ struct upb_decoder; typedef struct upb_decoder upb_decoder; // Allocates and frees a upb_decoder, respectively. -upb_decoder *upb_decoder_new(struct upb_msgdef *md); +upb_decoder *upb_decoder_new(upb_msgdef *md); void upb_decoder_free(upb_decoder *p); // Resets the internal state of an already-allocated decoder. This puts it in a @@ -47,8 +47,7 @@ void upb_decoder_reset(upb_decoder *p, upb_sink *sink); // // TODO: provide the following guarantee: // retval will always be >= len. -size_t upb_decoder_decode(upb_decoder *p, upb_strptr str, - struct upb_status *status); +size_t upb_decoder_decode(upb_decoder *p, upb_strptr str, upb_status *status); #ifdef __cplusplus } /* extern "C" */ |