qcacmn: Fix -Wmissing-prototypes in WMI

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

Change-Id: I2452ffa4e9fa1de8a7bd75d04dd4a0f94d7cf55c
CRs-Fixed: 1093298
This commit is contained in:
Jeff Johnson
2016-10-07 13:03:02 -07:00
committed by qcabuildsw
parent 4103e4a36e
commit 9366d7a6cb
3 changed files with 20 additions and 10 deletions

View File

@@ -729,6 +729,7 @@ QDF_STATUS send_peer_create_cmd_tlv(wmi_unified_t wmi,
*
* Return: 0 for success or error code
*/
static
QDF_STATUS send_peer_rx_reorder_queue_setup_cmd_tlv(wmi_unified_t wmi,
struct rx_reorder_queue_setup_params *param)
{
@@ -774,6 +775,7 @@ QDF_STATUS send_peer_rx_reorder_queue_setup_cmd_tlv(wmi_unified_t wmi,
*
* Return: 0 for success or error code
*/
static
QDF_STATUS send_peer_rx_reorder_queue_remove_cmd_tlv(wmi_unified_t wmi,
struct rx_reorder_queue_remove_params *param)
{
@@ -4124,6 +4126,7 @@ QDF_STATUS send_setup_install_key_cmd_tlv(wmi_unified_t wmi_handle,
*
* Return: QDF_STATUS_SUCCESS for success or error code
*/
static
QDF_STATUS send_encrypt_decrypt_send_cmd_tlv(wmi_unified_t wmi_handle,
struct encrypt_decrypt_req_params *encrypt_decrypt_params)
{
@@ -5009,6 +5012,7 @@ QDF_STATUS send_roam_scan_offload_rssi_thresh_cmd_tlv(wmi_unified_t wmi_handle,
*
* Return: QDF_STATUS_SUCCESS on success and QDF failure reason code for failure
*/
static
QDF_STATUS send_adapt_dwelltime_params_cmd_tlv(wmi_unified_t wmi_handle,
struct wmi_adaptive_dwelltime_params *dwelltime_params)
{
@@ -5750,6 +5754,7 @@ QDF_STATUS send_stop_extscan_cmd_tlv(wmi_unified_t wmi_handle,
*
* Return: CDF Status.
*/
static
QDF_STATUS wmi_get_buf_extscan_start_cmd(wmi_unified_t wmi_handle,
struct wifi_scan_cmd_req_params *pstart,
wmi_buf_t *buf, int *buf_len)
@@ -9555,7 +9560,7 @@ QDF_STATUS send_process_set_ie_info_cmd_tlv(wmi_unified_t wmi_handle,
return ret;
}
static
void wmi_copy_resource_config(wmi_resource_config *resource_cfg,
target_resource_config *tgt_res_cfg)
{
@@ -10276,6 +10281,7 @@ QDF_STATUS send_pdev_set_hw_mode_cmd_tlv(wmi_unified_t wmi_handle,
*
* Return: QDF_STATUS. 0 on success.
*/
static
QDF_STATUS send_pdev_set_dual_mac_config_cmd_tlv(wmi_unified_t wmi_handle,
struct wmi_dual_mac_config *msg)
{
@@ -10732,6 +10738,7 @@ QDF_STATUS send_process_roam_synch_complete_cmd_tlv(wmi_unified_t wmi_handle,
*
* Return: CDF STATUS
*/
static
QDF_STATUS send_fw_test_cmd_tlv(wmi_unified_t wmi_handle,
struct set_fwtest_params *wmi_fwtest)
{
@@ -11353,8 +11360,8 @@ QDF_STATUS send_get_buf_extscan_hotlist_cmd_tlv(wmi_unified_t wmi_handle,
*
* Return: QDF_STATUS_SUCCESS on success, QDF_STATUS_E_** on error
*/
QDF_STATUS send_power_dbg_cmd_tlv(wmi_unified_t wmi_handle,
struct wmi_power_dbg_params *param)
static QDF_STATUS send_power_dbg_cmd_tlv(wmi_unified_t wmi_handle,
struct wmi_power_dbg_params *param)
{
wmi_buf_t buf = NULL;
QDF_STATUS status;
@@ -11526,6 +11533,7 @@ static QDF_STATUS init_cmd_send_tlv(wmi_unified_t wmi_handle,
* Return: None
*/
#ifndef CONFIG_MCL
static
void save_service_bitmap_tlv(wmi_unified_t wmi_handle, void *evt_buf)
{
WMI_SERVICE_READY_EVENTID_param_tlvs *param_buf;
@@ -11536,6 +11544,7 @@ void save_service_bitmap_tlv(wmi_unified_t wmi_handle, void *evt_buf)
(WMI_SERVICE_BM_SIZE * sizeof(uint32_t)));
}
#else
static
void save_service_bitmap_tlv(wmi_unified_t wmi_handle, void *evt_buf)
{
return;