From 7e5ac8eb10b25e2d0e0f555b0fbd3966719f505c Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Thu, 6 Oct 2016 18:37:52 -0700 Subject: [PATCH] qcacld-3.0: Fix -Wmissing-prototypes in cfg_api We want to enable the compiler's -Wmissing-prototypes switch, but there is existing code that is generating warnings. Fix all warnings in cfg_api. Change-Id: I6c282c78da047a9979b90c52fdcfd7b1b7b3b46e CRs-Fixed: 1075090 --- core/mac/src/cfg/cfg_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/mac/src/cfg/cfg_api.c b/core/mac/src/cfg/cfg_api.c index c351063cff4c..8b15ba20a42f 100644 --- a/core/mac/src/cfg/cfg_api.c +++ b/core/mac/src/cfg/cfg_api.c @@ -71,7 +71,7 @@ uint32_t cfg_need_restart(tpAniSirGlobal pMac, uint16_t cfgId) return !!(pMac->cfg.gCfgEntry[cfgId].control & CFG_CTL_RESTART); } -void cfg_get_strindex(tpAniSirGlobal pMac, uint16_t cfgId) +static void cfg_get_strindex(tpAniSirGlobal pMac, uint16_t cfgId) { uint16_t i = 0;