diff options
author | Gerald Carter <jerry@samba.org> | 2005-12-20 02:23:51 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:05:54 -0500 |
commit | 67e8af8527d08d97736f9d1468d4ccd582940f44 (patch) | |
tree | dbbef8a5a64c015eee52b89f133dc19346d571ad /source3/web/diagnose.c | |
parent | 894979c69ba3d90b6361908cde4e29a68989419f (diff) | |
download | samba-67e8af8527d08d97736f9d1468d4ccd582940f44.tar.gz samba-67e8af8527d08d97736f9d1468d4ccd582940f44.tar.xz samba-67e8af8527d08d97736f9d1468d4ccd582940f44.zip |
r12393: cleaning up swat bugs. *no one* tests swat it seems. This has been broken since r10656
(This used to be commit 85ea7afd8bd30e0a2bcbc7181f75fde63b016a34)
Diffstat (limited to 'source3/web/diagnose.c')
-rw-r--r-- | source3/web/diagnose.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/web/diagnose.c b/source3/web/diagnose.c index c7a7a3598ee..d259717da0b 100644 --- a/source3/web/diagnose.c +++ b/source3/web/diagnose.c @@ -21,6 +21,8 @@ #include "includes.h" #include "web/swat_proto.h" +extern struct in_addr loopback_ip; + #ifdef WITH_WINBIND /* check to see if winbind is running by pinging it */ @@ -35,7 +37,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; @@ -60,7 +61,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; |