From 4d98de9875710da8b1951cc0b22bcd7f87a9ee45 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 14 Sep 2010 20:36:48 +0930 Subject: [PATCH] tools: restore -Wmissing-prototypes -Wmissing-declarations --- tools/tools.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/tools.h b/tools/tools.h index 9bc7e1fc..0ea4a6cd 100644 --- a/tools/tools.h +++ b/tools/tools.h @@ -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" -- 2.39.2