浏览代码

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
Anand Kumar 8 年之前
父节点
当前提交
3b92a9136b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      core/hdd/src/wlan_hdd_main.c

+ 2 - 2
core/hdd/src/wlan_hdd_main.c

@@ -6908,7 +6908,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 =
@@ -6917,7 +6917,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)
 {
 }