diff options
author | Jeff Johnson <jjohnson@codeaurora.org> | 2016-11-22 15:57:21 -0800 |
---|---|---|
committer | qcabuildsw <qcabuildsw@localhost> | 2016-12-14 14:08:31 -0800 |
commit | 3984d67bac397dc7015ad4876981195061040773 (patch) | |
tree | c51aa8d5ddc339819d137a36286e7ee982b6e9b0 | |
parent | 3320c7fc59375b61ad349463e3e1255f2d24e923 (diff) | |
download | qcacld-3984d67bac397dc7015ad4876981195061040773.tar.gz |
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
-rw-r--r-- | core/utils/epping/inc/epping_internal.h | 2 | ||||
-rw-r--r-- | core/utils/epping/src/epping_txrx.c | 8 |
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 3ae69fbfe0..fdd71c4174 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 66364e290e..43cd77713d 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; |