Sfoglia il codice sorgente

qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_cfg

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_cfg.

Change-Id: Ie23da29a1515249c04185ad4e146d8c9f4256c0f
CRs-Fixed: 1074336
Jeff Johnson 8 anni fa
parent
commit
f1bf3a6da0
1 ha cambiato i file con 4 aggiunte e 3 eliminazioni
  1. 4 3
      core/hdd/src/wlan_hdd_cfg.c

+ 4 - 3
core/hdd/src/wlan_hdd_cfg.c

@@ -5868,7 +5868,7 @@ static void hdd_override_all_ps(hdd_context_t *hdd_ctx)
  *
  * Return: none
  */
-void hdd_set_rx_mode_value(hdd_context_t *hdd_ctx)
+static void hdd_set_rx_mode_value(hdd_context_t *hdd_ctx)
 {
 	if (hdd_ctx->config->rx_mode & CFG_ENABLE_RX_THREAD &&
 		 hdd_ctx->config->rx_mode & CFG_ENABLE_RPS) {
@@ -6136,8 +6136,9 @@ static QDF_STATUS hdd_convert_string_to_array(char *str, uint8_t *array,
  *
  * Return: QDF_STATUS
  */
-QDF_STATUS hdd_hex_string_to_u8_array(char *str, uint8_t *hex_array,
-				      uint8_t *len, uint8_t array_max_len)
+static QDF_STATUS hdd_hex_string_to_u8_array(char *str, uint8_t *hex_array,
+					     uint8_t *len,
+					     uint8_t array_max_len)
 {
 	return hdd_convert_string_to_array(str, hex_array, len,
 					   array_max_len, true);