ref: 71032fde7932852e2ed9e42c3bfb3f403e94ae68
parent: df7039cf9afb8ef40c55f76ce9cad122f544505e
parent: 4b357bd15ba6a45687a4b01b14bca46e6cbe6cd2
author: Johann Koenig <[email protected]>
date: Wed Mar 6 18:59:20 EST 2019
Merge "add -Wmissing-prototypes"
--- a/configure
+++ b/configure
@@ -627,6 +627,8 @@
add_cflags_only -Wframe-larger-than=52000
check_cflags -Wmissing-declarations && \
add_cflags_only -Wmissing-declarations
+ check_cflags -Wmissing-prototypes && \
+ add_cflags_only -Wmissing-prototypes
if enabled mips || [ -z "${INLINE}" ]; then
enabled extra_warnings || check_add_cflags -Wno-unused-function
fi
--- a/vpx_ports/system_state.h
+++ b/vpx_ports/system_state.h
@@ -18,7 +18,7 @@
#endif
#if (ARCH_X86 || ARCH_X86_64) && HAVE_MMX
-extern void vpx_clear_system_state();
+extern void vpx_clear_system_state(void);
#else
#define vpx_clear_system_state()
#endif // (ARCH_X86 || ARCH_X86_64) && HAVE_MMX