Linux: Remove prototype warning inhibition
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Sun, 25 Apr 2010 10:31:36 +0000 (11:31 +0100)
committerDerrick Brashear <shadow@dementia.org>
Mon, 26 Apr 2010 02:05:19 +0000 (19:05 -0700)
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 <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>

src/libafs/MakefileProto.LINUX.in

index 773fdd1..e3d9369 100644 (file)
@@ -82,7 +82,7 @@ LINUX_KERNEL_BUILD=@LINUX_KERNEL_BUILD@
 <linux26 linux_26>
 # 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