Parcourir la source

qcacld-3.0: Fix -Wmissing-prototypes in sch_message

We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in sch_message.

Change-Id: I6c87ead4fd3fad0590a7a620d9af257621a48cd7
CRs-Fixed: 1075090
Jeff Johnson il y a 8 ans
Parent
commit
c1972f6eaf
1 fichiers modifiés avec 4 ajouts et 3 suppressions
  1. 4 3
      core/mac/src/pe/sch/sch_message.c

+ 4 - 3
core/mac/src/pe/sch/sch_message.c

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2012-2015 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2016 The Linux Foundation. All rights reserved.
  *
  * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
  *
@@ -210,9 +210,10 @@ void sch_process_message(tpAniSirGlobal pMac, tpSirMsgQ pSchMsg)
 
 /* get the local or broadcast parameters based on the profile sepcified in the config */
 /* params are delivered in this order: BK, BE, VI, VO */
-tSirRetStatus
+static tSirRetStatus
 sch_get_params(tpAniSirGlobal pMac,
-	       uint32_t params[][WNI_CFG_EDCA_ANI_ACBK_LOCAL_LEN], uint8_t local)
+	       uint32_t params[][WNI_CFG_EDCA_ANI_ACBK_LOCAL_LEN],
+	       uint8_t local)
 {
 	uint32_t val;
 	uint32_t i, idx;