Fix compilation warnings when using clang.

Removes typedef redefinitions in kvazaar_internal.h.
This commit is contained in:
Arttu Ylä-Outinen 2015-07-06 13:46:56 +03:00
parent cc580ac861
commit 3efdee2c13

View file

@ -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_