From 3efdee2c137bfa5a8b937fea6616fd3c57eede6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arttu=20Yl=C3=A4-Outinen?= Date: Mon, 6 Jul 2015 13:46:56 +0300 Subject: [PATCH] Fix compilation warnings when using clang. Removes typedef redefinitions in kvazaar_internal.h. --- src/kvazaar_internal.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/kvazaar_internal.h b/src/kvazaar_internal.h index 5128daab..98181b97 100644 --- a/src/kvazaar_internal.h +++ b/src/kvazaar_internal.h @@ -23,18 +23,18 @@ #include "kvazaar.h" // Forward declarations. -typedef struct encoder_state_t encoder_state_t; -typedef struct encoder_control_t encoder_control_t; +struct encoder_state_t; +struct encoder_control_t; -typedef struct kvz_encoder { - encoder_control_t* control; - encoder_state_t* states; +struct kvz_encoder { + struct encoder_control_t* control; + struct encoder_state_t* states; unsigned num_encoder_states; unsigned cur_state_num; unsigned frames_started; unsigned frames_done; size_t bitstream_length; -} kvz_encoder; +}; #endif // KVAZAAR_INTERNAL_H_