From d1999cb234387b4b1a8f841a6bd53c8780fc68eb Mon Sep 17 00:00:00 2001 From: James Zern Date: Sat, 9 May 2015 10:41:54 -0700 Subject: [PATCH] tools_common.h: fix get_vpx_decoder_count() proto silences a missing-prototype warning Change-Id: I99f8b4a9b7df836208e93170159733c5b5c2d881 --- tools_common.c | 2 +- tools_common.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools_common.c b/tools_common.c index 7e2221712..901734e0f 100644 --- a/tools_common.c +++ b/tools_common.c @@ -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]); } diff --git a/tools_common.h b/tools_common.h index db6e268a8..a87e814c1 100644 --- a/tools_common.h +++ b/tools_common.h @@ -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); -- 2.40.0