ref: 5a73bbdb83f5f416ab6f6a33c3d61e07ca01fb85
parent: 59e7a47c418c77089afb6dfc28b8a178d8b9f1e3
author: James Zern <[email protected]>
date: Sat May 9 06:40:51 EDT 2015
tools_common.h: fix get_vpx_encoder_count() proto silences a missing-prototype warning Change-Id: Icf5c7f1f3e8ae9792276068fb3c0fd04b40fc7ad
--- a/tools_common.c
+++ b/tools_common.c
@@ -140,7 +140,7 @@
#endif
};
-int get_vpx_encoder_count() {
+int get_vpx_encoder_count(void) {
return sizeof(vpx_encoders) / sizeof(vpx_encoders[0]);
}
--- a/tools_common.h
+++ b/tools_common.h
@@ -131,7 +131,7 @@
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);