浏览代码

qcacld-3.0: Fix -Wmissing-prototypes in lim_ibss_peer_mgmt

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

Change-Id: I399108d2e880631f60afec51d2c6472d623f907d
CRs-Fixed: 1075090
Jeff Johnson 8 年之前
父节点
当前提交
5948a1869e
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      core/mac/src/pe/lim/lim_ibss_peer_mgmt.c

+ 2 - 1
core/mac/src/pe/lim/lim_ibss_peer_mgmt.c

@@ -668,7 +668,8 @@ void lim_ibss_init(tpAniSirGlobal pMac)
  * @return None
  */
 
-void lim_ibss_delete_all_peers(tpAniSirGlobal pMac, tpPESession psessionEntry)
+static void lim_ibss_delete_all_peers(tpAniSirGlobal pMac,
+				      tpPESession psessionEntry)
 {
 	tLimIbssPeerNode *pCurrNode, *pTempNode;
 	tpDphHashNode pStaDs;