From 978ca8486031e43754a3c23757f361bf3a85f335 Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Wed, 6 Apr 2005 16:28:04 +0000 Subject: r6225: get rid of warnings from my compiler about nested externs (This used to be commit efea76ac71412f8622cd233912309e91b9ea52da) --- source3/lib/wins_srv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/lib/wins_srv.c') diff --git a/source3/lib/wins_srv.c b/source3/lib/wins_srv.c index b82e04e13cc..c139f427ca8 100644 --- a/source3/lib/wins_srv.c +++ b/source3/lib/wins_srv.c @@ -22,6 +22,8 @@ #include "includes.h" +extern struct in_addr loopback_ip; + /* This is pretty much a complete rewrite of the earlier code. The main aim of the rewrite is to add support for having multiple wins server @@ -280,7 +282,6 @@ struct in_addr wins_srv_ip_tag(const char *tag, struct in_addr src_ip) /* if we are a wins server then we always just talk to ourselves */ if (lp_wins_support()) { - extern struct in_addr loopback_ip; return loopback_ip; } -- cgit