qcacld-3.0: Fix -Wmissing-prototypes in lim_send_management_frames
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_send_management_frames.
Change-Id: I7d615fb0837ad427a14764ef8aecbe5c0f64d952
CRs-Fixed: 1075090
diff --git a/core/mac/src/pe/lim/lim_send_management_frames.c b/core/mac/src/pe/lim/lim_send_management_frames.c
index b10e584..94248e1 100644
--- a/core/mac/src/pe/lim/lim_send_management_frames.c
+++ b/core/mac/src/pe/lim/lim_send_management_frames.c
@@ -79,7 +79,7 @@
* number will roll over.
*
*/
-void lim_add_mgmt_seq_num(tpAniSirGlobal pMac, tpSirMacMgmtHdr pMacHdr)
+static void lim_add_mgmt_seq_num(tpAniSirGlobal pMac, tpSirMacMgmtHdr pMacHdr)
{
if (pMac->mgmtSeqNum >= WLAN_HOST_SEQ_NUM_MAX) {
pMac->mgmtSeqNum = WLAN_HOST_SEQ_NUM_MIN - 1;
@@ -449,7 +449,7 @@
return eSIR_SUCCESS;
} /* End lim_send_probe_req_mgmt_frame. */
-tSirRetStatus lim_get_addn_ie_for_probe_resp(tpAniSirGlobal pMac,
+static tSirRetStatus lim_get_addn_ie_for_probe_resp(tpAniSirGlobal pMac,
uint8_t *addIE, uint16_t *addnIELen,
uint8_t probeReqP2pIe)
{
@@ -2017,8 +2017,8 @@
* Return: This returns QDF_STATUS
*/
-QDF_STATUS lim_auth_tx_complete_cnf(tpAniSirGlobal mac_ctx,
- uint32_t tx_complete)
+static QDF_STATUS lim_auth_tx_complete_cnf(tpAniSirGlobal mac_ctx,
+ uint32_t tx_complete)
{
lim_log(mac_ctx, LOG1,
FL("tx_complete= %d"), tx_complete);