summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnson <jjohnson@codeaurora.org>2016-10-05 16:15:36 -0700
committerJeff Johnson <jjohnson@codeaurora.org>2016-10-11 06:24:37 -0700
commit64d8618a5304060bea644dc08dca40167e767b03 (patch)
tree5315cf595cf7438d296137e8e056dd62fd12922b
parentd772063714dd665f0725e7f6c72ceb409a62427a (diff)
qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_lro
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_lro. Change-Id: I5f640761078b877732d00b7eddabbd21996bbc71 CRs-Fixed: 1074336
-rw-r--r--core/hdd/src/wlan_hdd_lro.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/hdd/src/wlan_hdd_lro.c b/core/hdd/src/wlan_hdd_lro.c
index 35902f28fee5..a312b8c548be 100644
--- a/core/hdd/src/wlan_hdd_lro.c
+++ b/core/hdd/src/wlan_hdd_lro.c
@@ -412,8 +412,9 @@ static void hdd_lro_desc_free(struct net_lro_desc *desc,
*
* Return: none
*/
-void hdd_lro_flush_pkt(struct net_lro_mgr *lro_mgr,
- struct iphdr *iph, struct tcphdr *tcph, hdd_adapter_t *adapter)
+static void hdd_lro_flush_pkt(struct net_lro_mgr *lro_mgr,
+ struct iphdr *iph, struct tcphdr *tcph,
+ hdd_adapter_t *adapter)
{
struct net_lro_desc *lro_desc;
@@ -434,7 +435,7 @@ void hdd_lro_flush_pkt(struct net_lro_mgr *lro_mgr,
*
* Return: none
*/
-void hdd_lro_flush(void *data)
+static void hdd_lro_flush(void *data)
{
hdd_adapter_t *adapter = (hdd_adapter_t *)data;
struct hdd_lro_s *hdd_lro;