diff options
author | Johann <johannkoenig@google.com> | 2019-03-04 16:55:10 -0800 |
---|---|---|
committer | Johann <johannkoenig@google.com> | 2019-03-04 18:02:09 -0800 |
commit | 4b357bd15ba6a45687a4b01b14bca46e6cbe6cd2 (patch) | |
tree | 90c141930bd5666f1d9ce7f77aa69e44df87da1e /vpx_ports | |
parent | aba995832f2069a16180c02f4d97caa9894f9328 (diff) | |
download | libvpx-4b357bd15ba6a45687a4b01b14bca46e6cbe6cd2.tar libvpx-4b357bd15ba6a45687a4b01b14bca46e6cbe6cd2.tar.gz libvpx-4b357bd15ba6a45687a4b01b14bca46e6cbe6cd2.tar.bz2 libvpx-4b357bd15ba6a45687a4b01b14bca46e6cbe6cd2.zip |
add -Wmissing-prototypes
clang treats -Wmissing-declarations differently than gcc. This
provides similar coverage for clang.
Fix vpx_clear_system_state() warning on 32bit builds:
note: this declaration is not a prototype; add 'void' to make it a
prototype for a zero-parameter function
Change-Id: I5a424bc38d47c0a3dc751d65c1efea5733907785
Diffstat (limited to 'vpx_ports')
-rw-r--r-- | vpx_ports/system_state.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vpx_ports/system_state.h b/vpx_ports/system_state.h index 03557e4bd..452cb5739 100644 --- a/vpx_ports/system_state.h +++ b/vpx_ports/system_state.h @@ -18,7 +18,7 @@ extern "C" { #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 |