浏览代码

apps/netbiosns: Make *netbiosns_pcb static

It's only referenced by netbiosns.c, thus make it static.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Axel Lin 7 年之前
父节点
当前提交
82fc0e8937
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/apps/netbiosns/netbiosns.c

+ 1 - 1
src/apps/netbiosns/netbiosns.c

@@ -220,7 +220,7 @@ static char netbiosns_local_name[NETBIOS_NAME_LEN];
 #define NETBIOS_LOCAL_NAME netbiosns_local_name
 #endif
 
-struct udp_pcb *netbiosns_pcb;
+static struct udp_pcb *netbiosns_pcb;
 
 /** Decode a NetBIOS name (from packet to string) */
 static int