Add -Wmissing-prototypes to CFLAGS if available.
authorDiego Biurrun <diego@biurrun.de>
Tue, 23 Feb 2010 21:03:25 +0000 (21:03 +0000)
committerDiego Biurrun <diego@biurrun.de>
Tue, 23 Feb 2010 21:03:25 +0000 (21:03 +0000)
Originally committed as revision 22009 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 44cae34..3eaf14f 100755 (executable)
--- a/configure
+++ b/configure
@@ -2699,6 +2699,7 @@ check_cflags -Wcast-qual
 check_cflags -Wwrite-strings
 check_cflags -Wtype-limits
 check_cflags -Wundef
+check_cflags -Wmissing-prototypes
 enabled extra_warnings && check_cflags -Winline
 
 # add some linker flags