more -Wall warning fixes. -Wall is enabled now.

This commit is contained in:
Denis Vlasenko
2008-05-18 22:28:26 +00:00
parent e125a683a7
commit 5599502a55
14 changed files with 34 additions and 35 deletions

View File

@@ -498,12 +498,6 @@ all: busybox
#bbox# NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include)
CHECKFLAGS += $(NOSTDINC_FLAGS)
# warn about C99 declaration after statement
CFLAGS += $(call cc-option,-Wdeclaration-after-statement,)
# disable pointer signedness warnings in gcc 4.0
CFLAGS += $(call cc-option,-Wno-pointer-sign,)
# Default kernel image to build when no specific target is given.
# KBUILD_IMAGE may be overruled on the commandline or
# set in the environment