From 82fc0e893799da23afc37c0c788fd97f3d75d80f Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Wed, 4 Jul 2018 16:51:18 +0800 Subject: [PATCH] apps/netbiosns: Make *netbiosns_pcb static It's only referenced by netbiosns.c, thus make it static. Signed-off-by: Axel Lin --- src/apps/netbiosns/netbiosns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/netbiosns/netbiosns.c b/src/apps/netbiosns/netbiosns.c index beaf8a7c..493e20bb 100644 --- a/src/apps/netbiosns/netbiosns.c +++ b/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