summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorJeff Johnson <jjohnson@codeaurora.org>2016-11-22 15:57:21 -0800
committerqcabuildsw <qcabuildsw@localhost>2016-11-23 10:36:04 -0800
commit68cf2b9c47fbaeb4dbd67aebbc745eba376cf821 (patch)
tree92e9eb5fc81fc974e9ef4891c9cc3802f2b9bc11 /core
parente712a7e8cc8818b8c74c087d4d4a5411e794a219 (diff)
qcacld-3.0: Fix -Wmissing-prototypes in EPPING
We want to enable the compiler's -Wmissing-prototypes switch, but there is existing code that is generating warnings. Fix all warnings in epping. Change-Id: I025be90e0d2127552f26510a0aefbd9d6f3a1e61 CRs-Fixed: 1093405
Diffstat (limited to 'core')
-rw-r--r--core/utils/epping/inc/epping_internal.h2
-rw-r--r--core/utils/epping/src/epping_txrx.c8
2 files changed, 6 insertions, 4 deletions
diff --git a/core/utils/epping/inc/epping_internal.h b/core/utils/epping/inc/epping_internal.h
index 3ae69fbfe09f..fdd71c417492 100644
--- a/core/utils/epping/inc/epping_internal.h
+++ b/core/utils/epping/inc/epping_internal.h
@@ -173,6 +173,8 @@ int epping_tx_send(qdf_nbuf_t skb, epping_adapter_t *pAdapter);
#ifdef HIF_SDIO
HTC_SEND_FULL_ACTION epping_tx_queue_full(void *Context, HTC_PACKET *pPacket);
#endif
+void epping_tx_dup_pkt(epping_adapter_t *pAdapter,
+ HTC_ENDPOINT_ID eid, qdf_nbuf_t skb);
/* epping_rx signatures */
void epping_rx(void *Context, HTC_PACKET *pPacket);
diff --git a/core/utils/epping/src/epping_txrx.c b/core/utils/epping/src/epping_txrx.c
index 66364e290e43..43cd77713df8 100644
--- a/core/utils/epping/src/epping_txrx.c
+++ b/core/utils/epping/src/epping_txrx.c
@@ -117,7 +117,7 @@ end:
return;
}
-void epping_tx_queue_timeout(struct net_device *dev)
+static void epping_tx_queue_timeout(struct net_device *dev)
{
epping_adapter_t *pAdapter;
@@ -144,7 +144,7 @@ end:
}
-int epping_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
+static int epping_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
{
epping_adapter_t *pAdapter;
int ret = 0;
@@ -161,7 +161,7 @@ end:
return ret;
}
-struct net_device_stats *epping_get_stats(struct net_device *dev)
+static struct net_device_stats *epping_get_stats(struct net_device *dev)
{
epping_adapter_t *pAdapter = netdev_priv(dev);
@@ -174,7 +174,7 @@ struct net_device_stats *epping_get_stats(struct net_device *dev)
return &pAdapter->stats;
}
-int epping_ndev_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
+static int epping_ndev_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
{
epping_adapter_t *pAdapter;
int ret = 0;