diff options
| author | Jeff Johnson <jjohnson@codeaurora.org> | 2016-10-07 07:30:50 -0700 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2016-10-12 11:51:48 -0700 |
| commit | 38112a38e21dfd81be1080e8b00edb1f7e8058c0 (patch) | |
| tree | 5ed80d0339e10d7878b5b8a62234b39e4e246fbf | |
| parent | 1e259fa46b785abe20ae4690ad09b5e3ee3d1885 (diff) | |
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
| -rw-r--r-- | core/mac/src/pe/lim/lim_send_management_frames.c | 8 |
1 files 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); |
