]> git.ozlabs.org Git - ccan/commitdiff
tools: restore -Wmissing-prototypes -Wmissing-declarations
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 14 Sep 2010 11:06:48 +0000 (20:36 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 14 Sep 2010 11:06:48 +0000 (20:36 +0930)
tools/tools.h

index 9bc7e1fcfda7e2f1148d0db40f545ecb3d5a362f..0ea4a6cdcdc6c26b84f436e9f3036cb2a9f3b509 100644 (file)
@@ -8,8 +8,7 @@
 
 #define SPACE_CHARS    " \f\n\r\t\v"
 
-/* FIXME: Nested functions break with -Wmissing-prototypes -Wmissing-declarations */
-#define CFLAGS "-g -Wall -Wundef -Wstrict-prototypes -Wold-style-definition -Werror"
+#define CFLAGS "-g -Wall -Wundef -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wold-style-definition -Werror"
 
 #define COVERAGE_CFLAGS "-fprofile-arcs -ftest-coverage"