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

Change-Id: Icf5c7f1f3e8ae9792276068fb3c0fd04b40fc7ad

tools_common.c
tools_common.h

index e243a91..7e22217 100644 (file)
@@ -140,7 +140,7 @@ static const VpxInterface vpx_encoders[] = {
 #endif
 };
 
-int get_vpx_encoder_count() {
+int get_vpx_encoder_count(void) {
   return sizeof(vpx_encoders) / sizeof(vpx_encoders[0]);
 }
 
index b92980a..db6e268 100644 (file)
@@ -131,7 +131,7 @@ typedef struct VpxInterface {
   vpx_codec_iface_t *(*const codec_interface)();
 } VpxInterface;
 
-int get_vpx_encoder_count();
+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);