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
This commit is contained in:
Jeff Johnson 2016-10-07 07:30:50 -07:00 • committed by qcabuildsw
commit 38112a38e2

View file

@ -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 @@ lim_send_probe_req_mgmt_frame(tpAniSirGlobal mac_ctx,
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 @@ lim_send_assoc_req_mgmt_frame(tpAniSirGlobal mac_ctx,
* 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);