mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
qcacld-3.0: Fix -Wmissing-prototypes in lim_session
We want to enable the compiler's -Wmissing-prototypes switch, but there is existing code that is generating warnings. Fix all warnings in lim_session. Change-Id: Ied228b11bd6484ee96fa2db827cb675669e78487 CRs-Fixed: 1075090
This commit is contained in:
parent
6db011e5c4
commit
9769900bfe
1 changed files with 3 additions and 2 deletions
|
|
@ -58,7 +58,8 @@
|
|||
|
||||
--------------------------------------------------------------------------*/
|
||||
|
||||
void pe_init_beacon_params(tpAniSirGlobal pMac, tpPESession psessionEntry)
|
||||
static void pe_init_beacon_params(tpAniSirGlobal pMac,
|
||||
tpPESession psessionEntry)
|
||||
{
|
||||
psessionEntry->beaconParams.beaconInterval = 0;
|
||||
psessionEntry->beaconParams.fShortPreamble = 0;
|
||||
|
|
@ -100,7 +101,7 @@ void pe_init_beacon_params(tpAniSirGlobal pMac, tpPESession psessionEntry)
|
|||
*
|
||||
* Return: void
|
||||
*/
|
||||
void pe_reset_protection_callback(void *ptr)
|
||||
static void pe_reset_protection_callback(void *ptr)
|
||||
{
|
||||
tpPESession pe_session_entry = (tpPESession)ptr;
|
||||
tpAniSirGlobal mac_ctx = (tpAniSirGlobal)pe_session_entry->mac_ctx;
|
||||
|
|
|
|||
Loading…
Reference in a new issue