summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnson <jjohnson@codeaurora.org>2016-10-05 15:17:13 -0700
committerJeff Johnson <jjohnson@codeaurora.org>2016-10-11 06:24:37 -0700
commitcd2a079b97702e8b939a5f64510a9b97da927f63 (patch)
tree3560a8250956d5ba4de3a2bf800e0541b096d998
parent7782cb90b89f749838b4e2347f43876c04194ab4 (diff)
qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_ext_scan
We want to enable the compiler's -Wmissing-prototypes switch, but there is existing code that is generating warnings. Fix all warnings in wlan_hdd_ext_scan. Change-Id: I29c7ba3ef4e9eaa8a28268161a10f3b25249601d CRs-Fixed: 1074336
-rw-r--r--core/hdd/src/wlan_hdd_ext_scan.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/hdd/src/wlan_hdd_ext_scan.c b/core/hdd/src/wlan_hdd_ext_scan.c
index 0a172685416e..92241e2687e5 100644
--- a/core/hdd/src/wlan_hdd_ext_scan.c
+++ b/core/hdd/src/wlan_hdd_ext_scan.c
@@ -2435,8 +2435,8 @@ int wlan_hdd_cfg80211_extscan_set_significant_change(struct wiphy *wiphy,
*
* Return: none
*/
-void hdd_remove_dsrc_channels(struct wiphy *wiphy, uint32_t *chan_list,
- uint8_t *num_channels)
+static void hdd_remove_dsrc_channels(struct wiphy *wiphy, uint32_t *chan_list,
+ uint8_t *num_channels)
{
uint8_t num_chan_temp = 0;
int i;
@@ -2460,8 +2460,8 @@ void hdd_remove_dsrc_channels(struct wiphy *wiphy, uint32_t *chan_list,
* Return: none
*/
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 16, 0))
-void hdd_remove_indoor_channels(struct wiphy *wiphy, uint32_t *chan_list,
- uint8_t *num_channels)
+static void hdd_remove_indoor_channels(struct wiphy *wiphy, uint32_t *chan_list,
+ uint8_t *num_channels)
{
uint8_t num_chan_temp = 0;
int i, j, k;
@@ -2485,8 +2485,8 @@ void hdd_remove_indoor_channels(struct wiphy *wiphy, uint32_t *chan_list,
*num_channels = num_chan_temp;
}
#else
-void hdd_remove_indoor_channels(struct wiphy *wiphy, uint32_t *chan_list,
- uint8_t *num_channels)
+static void hdd_remove_indoor_channels(struct wiphy *wiphy, uint32_t *chan_list,
+ uint8_t *num_channels)
{
*num_channels = 0;
}