fixed a link problem with global_in_nmbd
authorAndrew Tridgell <tridge@samba.org>
Thu, 27 Jun 2002 14:54:01 +0000 (14:54 +0000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 27 Jun 2002 14:54:01 +0000 (14:54 +0000)
(This used to be commit 9a3e323ec261a1ee3a83f8c558583c3d4a53e06a)

source3/lib/wins_srv.c
source3/libsmb/namequery.c

index 27b5adf6b589f670c641b76324c19d571b36ec8c..9fd2760612caacc48417b85668f5b4bde9cf541b 100644 (file)
@@ -71,8 +71,8 @@ static struct wins_dead {
        struct wins_dead *next, *prev;
 } *dead_servers;
 
-extern BOOL global_in_nmbd;
-
+/* nmbd sets this */
+BOOL global_in_nmbd = False;
 
 /* an internal convenience structure for an IP with a short string tag
    attached */
index 2c6fb2fd711c9868c5203c3cfd4ee7620984ab5c..75e2458964781096a772ef7ce03f6ca2fe2a17cc 100644 (file)
@@ -22,7 +22,7 @@
 #include "includes.h"
 
 /* nmbd.c sets this to True. */
-BOOL global_in_nmbd = False;
+extern BOOL global_in_nmbd;
 
 /****************************************************************************
 generate a random trn_id