Error on missing function prototypes with gcc
[libav.git] / configure
index f3da5f6..aa994a1 100755 (executable)
--- a/configure
+++ b/configure
@@ -2752,6 +2752,7 @@ elif enabled ccc; then
 elif enabled gcc; then
     check_cflags -fno-tree-vectorize
     check_cflags -Werror=implicit
+    check_cflags -Werror=missing-prototypes
 elif enabled clang; then
     check_cflags -Qunused-arguments
 elif enabled armcc; then