Browse Source

tools: restore -Wmissing-prototypes -Wmissing-declarations

Rusty Russell 15 years ago
parent
commit
4d98de9875
1 changed files with 1 additions and 2 deletions
  1. 1 2
      tools/tools.h

+ 1 - 2
tools/tools.h

@@ -8,8 +8,7 @@
 
 
 #define SPACE_CHARS	" \f\n\r\t\v"
 #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"
 #define COVERAGE_CFLAGS "-fprofile-arcs -ftest-coverage"