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
diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c
index 39e2159..97f0ed0 100644
--- a/core/hdd/src/wlan_hdd_main.c
+++ b/core/hdd/src/wlan_hdd_main.c
@@ -6908,7 +6908,7 @@
*
* 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 =
@@ -6917,7 +6917,7 @@
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)
{
}