diff options
| author | Jeff Johnson <jjohnson@codeaurora.org> | 2016-10-07 07:46:48 -0700 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2016-10-17 21:57:14 -0700 |
| commit | aeebe65c3d01373e6ff4d3848ba2e1339a19e55b (patch) | |
| tree | d13810fc36e6111a8997d08f2990989df3f7f7f7 /core/mac/src | |
| parent | 1628188271aea2dbd2cf28e56d003d7de6db4b62 (diff) | |
qcacld-3.0: Fix -Wmissing-prototypes in sch_beacon_gen
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in sch_beacon_gen.
Change-Id: Ife6bd447ef9e352d76fe06ba7679aa95d1d74556
CRs-Fixed: 1075090
Diffstat (limited to 'core/mac/src')
| -rw-r--r-- | core/mac/src/pe/sch/sch_beacon_gen.c | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/core/mac/src/pe/sch/sch_beacon_gen.c b/core/mac/src/pe/sch/sch_beacon_gen.c index 67afe53e43cb..082834e5e71d 100644 --- a/core/mac/src/pe/sch/sch_beacon_gen.c +++ b/core/mac/src/pe/sch/sch_beacon_gen.c @@ -53,15 +53,11 @@ #include "sch_debug.h" -/* */ -/* March 15, 2006 */ -/* Temporarily (maybe for all of Alpha-1), assuming TIM = 0 */ -/* */ - const uint8_t p2p_oui[] = { 0x50, 0x6F, 0x9A, 0x9 }; -tSirRetStatus sch_get_p2p_ie_offset(uint8_t *pExtraIe, uint32_t extraIeLen, - uint16_t *pP2pIeOffset) +static tSirRetStatus sch_get_p2p_ie_offset(uint8_t *pExtraIe, + uint32_t extraIeLen, + uint16_t *pP2pIeOffset) { tSirRetStatus status = eSIR_FAILURE; *pP2pIeOffset = 0; @@ -99,7 +95,7 @@ tSirRetStatus sch_get_p2p_ie_offset(uint8_t *pExtraIe, uint32_t extraIeLen, * * Return: status of operation */ -tSirRetStatus +static tSirRetStatus sch_append_addn_ie(tpAniSirGlobal mac_ctx, tpPESession session, uint8_t *frm, uint32_t max_bcn_size, uint32_t *num_bytes, uint8_t *addn_ie, uint16_t addn_ielen) @@ -799,8 +795,8 @@ void set_probe_rsp_ie_bitmap(uint32_t *IeBitmap, uint32_t pos) * @return None */ -void write_beacon_to_memory(tpAniSirGlobal pMac, uint16_t size, uint16_t length, - tpPESession psessionEntry) +static void write_beacon_to_memory(tpAniSirGlobal pMac, uint16_t size, + uint16_t length, tpPESession psessionEntry) { uint16_t i; tpAniBeaconStruct pBeacon; |
