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/web/diagnose.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/web/diagnose.c') diff --git a/source3/web/diagnose.c b/source3/web/diagnose.c index a490786068..0c9c854df7 100644 --- a/source3/web/diagnose.c +++ b/source3/web/diagnose.c @@ -23,6 +23,8 @@ #ifdef WITH_WINBIND +extern struct in_addr loopback_ip; + NSS_STATUS winbindd_request(int req_type, struct winbindd_request *request, struct winbindd_response *response); @@ -39,7 +41,6 @@ BOOL winbindd_running(void) response */ BOOL nmbd_running(void) { - extern struct in_addr loopback_ip; int fd, count, flags; struct in_addr *ip_list; @@ -64,7 +65,6 @@ BOOL nmbd_running(void) BOOL smbd_running(void) { static struct cli_state cli; - extern struct in_addr loopback_ip; if (!cli_initialise(&cli)) return False; -- cgit