shithub: libvpx

Download patch

ref: 219ea62d00e68de9267c266913d3205a1530b58a
parent: c03152d449c39d11c190f96febbdaad33b18795a
author: Johann <johannkoenig@google.com>
date: Fri Dec 21 08:44:07 EST 2018

add -Wmissing-declarations

This is useful for catching functions which should be static and
instances where the relevant rtcd file was not included.

BUG=webm:1584

Change-Id: Ied395847a664eedce59e8ed5180bd16d059ab0ac

--- a/configure
+++ b/configure
@@ -620,6 +620,8 @@
         check_cflags -Wundef && add_cflags_only -Wundef
         check_cflags -Wframe-larger-than=52000 && \
           add_cflags_only -Wframe-larger-than=52000
+        check_cflags -Wmissing-declarations && \
+          add_cflags_only -Wmissing-declarations
         if enabled mips || [ -z "${INLINE}" ]; then
           enabled extra_warnings || check_add_cflags -Wno-unused-function
         fi