Sfoglia il codice sorgente

qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_ioctl

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

Change-Id: I24089ef930e15af0180eefbf98ab86372684b79f
CRs-Fixed: 1074336
Jeff Johnson 8 anni fa
parent
commit
f731b30df8
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      core/hdd/src/wlan_hdd_ioctl.c

+ 2 - 2
core/hdd/src/wlan_hdd_ioctl.c

@@ -549,7 +549,7 @@ hdd_cfg80211_get_ibss_peer_info(hdd_adapter_t *adapter, uint8_t staIdx)
 }
 
 /* Function header is left blank intentionally */
-QDF_STATUS
+static QDF_STATUS
 hdd_parse_get_ibss_peer_info(uint8_t *pValue, struct qdf_mac_addr *pPeerMacAddr)
 {
 	uint8_t *inPtr = pValue;
@@ -1647,7 +1647,7 @@ hdd_parse_set_roam_scan_channels(hdd_adapter_t *adapter, const char *command)
  *
  * Return: 0 for success non-zero for failure
  */
-QDF_STATUS hdd_parse_plm_cmd(uint8_t *pValue, tSirPlmReq *pPlmRequest)
+static QDF_STATUS hdd_parse_plm_cmd(uint8_t *pValue, tSirPlmReq *pPlmRequest)
 {
 	uint8_t *cmdPtr = NULL;
 	int count, content = 0, ret = 0;