tools_common.h: fix get_vpx_decoder_count() proto
authorJames Zern <jzern@google.com>
Sat, 9 May 2015 17:41:54 +0000 (10:41 -0700)
committerJames Zern <jzern@google.com>
Tue, 12 May 2015 03:55:02 +0000 (20:55 -0700)
silences a missing-prototype warning

Change-Id: I99f8b4a9b7df836208e93170159733c5b5c2d881

tools_common.c
tools_common.h

index 7e22217..901734e 100644 (file)
@@ -170,7 +170,7 @@ static const VpxInterface vpx_decoders[] = {
 #endif
 };
 
-int get_vpx_decoder_count() {
+int get_vpx_decoder_count(void) {
   return sizeof(vpx_decoders) / sizeof(vpx_decoders[0]);
 }
 
index db6e268..a87e814 100644 (file)
@@ -135,7 +135,7 @@ int get_vpx_encoder_count(void);
 const VpxInterface *get_vpx_encoder_by_index(int i);
 const VpxInterface *get_vpx_encoder_by_name(const char *name);
 
-int get_vpx_decoder_count();
+int get_vpx_decoder_count(void);
 const VpxInterface *get_vpx_decoder_by_index(int i);
 const VpxInterface *get_vpx_decoder_by_name(const char *name);
 const VpxInterface *get_vpx_decoder_by_fourcc(uint32_t fourcc);