From: Simon Wilkinson Date: Sun, 25 Apr 2010 10:31:36 +0000 (+0100) Subject: Linux: Remove prototype warning inhibition X-Git-Tag: openafs-devel-1_5_75~381 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=0d7197f92517446be422150e32e0e07118a88271;p=packages%2Fo%2Fopenafs.git Linux: Remove prototype warning inhibition The Linux kernel builds used to add -Wno-strict-prototypes to the CFLAGS. Now that we've got prototypes for pretty much everything, remove this line so we can see any real warnings that might occur. Change-Id: I71b97bd3d19259f6ec6a55cfe095f5f4bf1ab78f Reviewed-on: http://gerrit.openafs.org/1830 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/libafs/MakefileProto.LINUX.in b/src/libafs/MakefileProto.LINUX.in index 773fdd18d..e3d93691d 100644 --- a/src/libafs/MakefileProto.LINUX.in +++ b/src/libafs/MakefileProto.LINUX.in @@ -82,7 +82,7 @@ LINUX_KERNEL_BUILD=@LINUX_KERNEL_BUILD@ # All the platform-specific and kernel-related things are provided by # the kernel build system. So we should _not_ use COMMON_KERN_CFLAGS! -CCFLAGS = -Wno-strict-prototypes +CCFLAGS = DEFINES = $(COMMON_DEFINES) # CFLAGS_* and AFLAGS_* will be copied into the kbuild makefile