summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnson <jjohnson@codeaurora.org>2016-10-05 16:24:56 -0700
committerJeff Johnson <jjohnson@codeaurora.org>2016-10-11 06:24:37 -0700
commit6376abe7a4a1b8ac823fed1c86fbca7bb753deb3 (patch)
tree60f555992ddc9aec36f523bfbc99fae2beaa3adf
parent0eed72f1ef8f2f6709b9fb21df4f9467dea33743 (diff)
qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_softap_tx_rx
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_softap_tx_rx. Change-Id: I26dd53307454d2c4dd887345eb77a9d362b5fdf2 CRs-Fixed: 1074336
-rw-r--r--core/hdd/src/wlan_hdd_softap_tx_rx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/hdd/src/wlan_hdd_softap_tx_rx.c b/core/hdd/src/wlan_hdd_softap_tx_rx.c
index 8ff10be73848..ab6357535162 100644
--- a/core/hdd/src/wlan_hdd_softap_tx_rx.c
+++ b/core/hdd/src/wlan_hdd_softap_tx_rx.c
@@ -211,7 +211,8 @@ void hdd_softap_tx_resume_cb(void *adapter_context, bool tx_resume)
*
* Return: Always returns NETDEV_TX_OK
*/
-int __hdd_softap_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
+static int __hdd_softap_hard_start_xmit(struct sk_buff *skb,
+ struct net_device *dev)
{
sme_ac_enum_type ac = SME_AC_BE;
hdd_adapter_t *pAdapter = (hdd_adapter_t *) netdev_priv(dev);