summaryrefslogtreecommitdiffstats
path: root/source/nmbd/nmbd_synclists.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/nmbd/nmbd_synclists.c')
-rw-r--r--source/nmbd/nmbd_synclists.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/nmbd/nmbd_synclists.c b/source/nmbd/nmbd_synclists.c
index 33690133bf8..c6bcb3e5742 100644
--- a/source/nmbd/nmbd_synclists.c
+++ b/source/nmbd/nmbd_synclists.c
@@ -29,8 +29,6 @@
#include "includes.h"
-extern fstring local_machine;
-
struct sync_record {
struct sync_record *next, *prev;
unstring workgroup;
@@ -67,6 +65,7 @@ static void sync_child(char *name, int nm_type,
struct in_addr ip, BOOL local, BOOL servers,
char *fname)
{
+ extern fstring local_machine;
fstring unix_workgroup;
static struct cli_state cli;
uint32 local_type = local ? SV_TYPE_LOCAL_LIST_ONLY : 0;