From e4b8a664d3a08cdc251bb1f1782ceb3de55b81bd Mon Sep 17 00:00:00 2001 From: Anand Kumar Date: Mon, 5 Dec 2016 12:01:26 +0530 Subject: qcacld-3.0: Fix Compilation issue for missing prototypes Defined function using static, which are not defined prototypes. After the enable compiler support to missing prototypes, it leads to compilation issue. Change-Id: I4141ecc3ac1005cbf915600ff0b56f43eeaa651d CRs-Fixed: 1097164 --- core/hdd/src/wlan_hdd_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index a8a525cce361..a0304a4d47f8 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -6936,7 +6936,7 @@ static inline void hdd_txrx_populate_cds_config(struct cds_config_info * * Return: none */ -inline void hdd_ra_populate_cds_config(struct cds_config_info *cds_cfg, +static inline void hdd_ra_populate_cds_config(struct cds_config_info *cds_cfg, hdd_context_t *hdd_ctx) { cds_cfg->ra_ratelimit_interval = @@ -6945,7 +6945,7 @@ inline void hdd_ra_populate_cds_config(struct cds_config_info *cds_cfg, hdd_ctx->config->IsRArateLimitEnabled; } #else -inline void hdd_ra_populate_cds_config(struct cds_config_info *cds_cfg, +static inline void hdd_ra_populate_cds_config(struct cds_config_info *cds_cfg, hdd_context_t *hdd_ctx) { } -- cgit v1.2.3