]> err.no Git - systemd/commitdiff
[PATCH] more warning flags to the build.
authorgreg@kroah.com <greg@kroah.com>
Wed, 22 Oct 2003 07:18:49 +0000 (00:18 -0700)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:04:09 +0000 (21:04 -0700)
Makefile

index 2cc0c2a6803115eb74d55cfe60344b117785edf6..6710ede1b9dff3bcdaad5ffe839f0dbbd7bed32c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -74,7 +74,8 @@ GCC_LIB := $(shell $(CC) -print-libgcc-file-name )
 OPTIMIZATION := ${shell if $(CC) -Os -S -o /dev/null -xc /dev/null >/dev/null 2>&1; \
                then echo "-Os"; else echo "-O2" ; fi}
 
-WARNINGS := -Wall -Wshadow -Wstrict-prototypes 
+# add -Wredundant-decls when libsysfs gets cleaned up
+WARNINGS := -Wall -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
 
 # Some nice architecture specific optimizations
 ifeq ($(strip $(TARGET_ARCH)),arm)