mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 04:59:05 -04:00
qcacld-3.0: Enable -Wmissing-prototypes
Enable the compiler's -Wmissing-prototypes switch. This will help catch two types of issues: 1) Implementations which do not include their header file which prevents the compiler from verifying that the signature of the implementation matches the signature of the prototype. 2) Functions which should be static but which are missing the 'static' keyword. Change-Id: I4f8e45b40e57bdf7bec40e3d72cc48e7bfe15b7b CRs-Fixed: 1074336
This commit is contained in:
parent
25596d6031
commit
522db00cbf
1 changed files with 1 additions and 0 deletions
1
Kbuild
1
Kbuild
|
|
@ -1750,6 +1750,7 @@ ifneq (y,$(CONFIG_ARCH_MSM))
|
|||
EXTRA_CFLAGS += -Wframe-larger-than=4096
|
||||
endif
|
||||
endif
|
||||
EXTRA_CFLAGS += -Wmissing-prototypes
|
||||
|
||||
ifeq ($(call cc-option-yn, -Wheader-guard),y)
|
||||
EXTRA_CFLAGS += -Wheader-guard
|
||||
|
|
|
|||
Loading…
Reference in a new issue