summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnand Kumar <anandkumar@codeaurora.org>2016-12-05 12:01:26 +0530
committerqcabuildsw <qcabuildsw@localhost>2016-12-08 10:10:58 -0800
commite4b8a664d3a08cdc251bb1f1782ceb3de55b81bd (patch)
tree6c20ea6fe270f7e37826e1edb828b5d1506335dd
parent9877ecb5e8e2dfc3fd1daed9d4ef1400a2cb0da1 (diff)
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
-rw-r--r--core/hdd/src/wlan_hdd_main.c4
1 files 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)
{
}