From 7f778106335924f80aeefd9602adf9e36bae96af Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sun, 2 Apr 2006 20:41:55 +0000 Subject: [PATCH] - switch Warning Of the Week to wrong or missing prototypes. e.g. archival/uncompress.c wrongly includes libbb.h instead of busybox.h decompress_bunzip2.c,open_transformer.c don't include the proper "unarchive.h" etc, etc. --- Rules.mak | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Rules.mak b/Rules.mak index 98ed96543..ada1735e8 100644 --- a/Rules.mak +++ b/Rules.mak @@ -198,11 +198,9 @@ else endif # warn a bit more verbosely for non-release versions ifneq ($(EXTRAVERSION),) - CFLAGS+=$(call check_gcc,-Wformat,) - CFLAGS+=$(call check_gcc,-Wformat=2,) - CFLAGS+=$(call check_gcc,-Wformat-nonliteral,) - CFLAGS+=$(call check_gcc,-Wformat-security,) - CFLAGS+=$(call check_gcc,-Wformat-y2k,) + CFLAGS+=$(call check_gcc,-Wstrict-prototypes,) + CFLAGS+=$(call check_gcc,-Wmissing-prototypes,) + CFLAGS+=$(call check_gcc,-Wmissing-declarations,) endif STRIPCMD:=$(STRIP) -s --remove-section=.note --remove-section=.comment ifeq ($(strip $(CONFIG_STATIC)),y) -- 2.25.1