diff options
| author | Jeff Johnson <jjohnson@codeaurora.org> | 2016-10-05 15:48:13 -0700 |
|---|---|---|
| committer | Jeff Johnson <jjohnson@codeaurora.org> | 2016-10-11 06:24:36 -0700 |
| commit | f1bf3a6da093776268add62dbfb3069e5b2e5e97 (patch) | |
| tree | bf6badf0c347b57778e026910cb4a6026848225a | |
| parent | 018d7d3f31379852b56ef783fb1ace15f25d00eb (diff) | |
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
| -rw-r--r-- | core/hdd/src/wlan_hdd_cfg.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/hdd/src/wlan_hdd_cfg.c b/core/hdd/src/wlan_hdd_cfg.c index 9e944e6d33eb..4ad684334918 100644 --- a/core/hdd/src/wlan_hdd_cfg.c +++ b/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); |
