summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-06-27 14:54:01 +0000
committerAndrew Tridgell <tridge@samba.org>2002-06-27 14:54:01 +0000
commit551a4cd89596b7f12d23a878d65361197b20a58f (patch)
tree69a536fa2005ec8583582781cfe06f1568f953bd /source3
parent223ddc3f2daf25b16ce60230336747d5fab61e39 (diff)
downloadsamba-551a4cd89596b7f12d23a878d65361197b20a58f.tar.gz
samba-551a4cd89596b7f12d23a878d65361197b20a58f.tar.bz2
samba-551a4cd89596b7f12d23a878d65361197b20a58f.zip
fixed a link problem with global_in_nmbd
(This used to be commit 9a3e323ec261a1ee3a83f8c558583c3d4a53e06a)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/wins_srv.c4
-rw-r--r--source3/libsmb/namequery.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/wins_srv.c b/source3/lib/wins_srv.c
index 27b5adf6b5..9fd2760612 100644
--- a/source3/lib/wins_srv.c
+++ b/source3/lib/wins_srv.c
@@ -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 */
diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c
index 2c6fb2fd71..75e2458964 100644
--- a/source3/libsmb/namequery.c
+++ b/source3/libsmb/namequery.c
@@ -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