OSDN Git Service

Some more prototypes, enable missing-prototypes/declarations warnings for now
[uclinux-h8/uClibc.git] / Rules.mak
index 2f16dbe..37cf140 100644 (file)
--- a/Rules.mak
+++ b/Rules.mak
@@ -296,7 +296,7 @@ OPTIMIZATION+=$(call check_gcc,-funit-at-a-time,)
 # Add a bunch of extra pedantic annoyingly strict checks
 XWARNINGS=$(subst ",, $(strip $(WARNINGS))) -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
 XWARNINGS+=-Wnested-externs -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wformat=2
-#XWARNINGS+=-Wmissing-prototypes -Wmissing-declarations
+XWARNINGS+=-Wmissing-prototypes -Wmissing-declarations
 # works only w/ gcc-3.4 and up, can't be checked for gcc-3.x w/ check_gcc()
 #XWARNINGS+=-Wdeclaration-after-statement
 XARCH_CFLAGS=$(subst ",, $(strip $(ARCH_CFLAGS)))