From 38112a38e21dfd81be1080e8b00edb1f7e8058c0 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Fri, 7 Oct 2016 07:30:50 -0700 Subject: [PATCH] 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 --- core/mac/src/pe/lim/lim_send_management_frames.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 b10e5847a4aa..94248e13a9c4 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 @@ 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);