summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-26 22:19:01 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-26 22:19:01 +0000
commit1466eb283c8eee992835f66433c43fd4d31e92bc (patch)
treebc21098e1d0ecf904e232eefc86bb4380247da09 /Rules.mak
parent05e75260d6952308d7c865ff67c0e3678b7ba935 (diff)
Some more prototypes, enable missing-prototypes/declarations warnings for now
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rules.mak b/Rules.mak
index 2f16dbe4f..37cf14000 100644
--- 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)))