diff --git a/vfs/ChangeLog b/vfs/ChangeLog index e00fdf3b8..f6c768b8e 100644 --- a/vfs/ChangeLog +++ b/vfs/ChangeLog @@ -1,10 +1,14 @@ +2005-11-10 Pavel Roskin + + * smbfs.c: Remove redundant ipzero declaration. + 2005-10-19 Leonard den Ottolander * fish.c (fish_dir_load, fish_linear_start): Get numerical gid/uids from ls to avoid wrong parsing of user/group names containing white space. -2005-10-09 Boris Belitsky +2005-10-09 Boris Belitsky * ftpfs.c (ftpfs_command): Fix "Nowhere to fallback to" warning caused by fallback to acitve mode after inactivity. diff --git a/vfs/smbfs.c b/vfs/smbfs.c index ee129e455..f5425782a 100644 --- a/vfs/smbfs.c +++ b/vfs/smbfs.c @@ -63,6 +63,7 @@ static uint32 err; /* stuff that is same with each connection */ extern int DEBUGLEVEL; extern pstring myhostname; +extern struct in_addr ipzero; static mode_t myumask = 0755; extern pstring global_myname; static int smbfs_open_connections = 0; @@ -923,7 +924,6 @@ smbfs_do_connect (const char *server, char *share) struct cli_state *c; struct nmb_name called, calling; struct in_addr ip; - extern struct in_addr ipzero; DEBUG(3, ("smbfs_do_connect(%s, %s)\n", server, share)); if (*share == '\\') { @@ -1013,7 +1013,6 @@ smbfs_get_master_browser(char **host) static char so_broadcast[] = "SO_BROADCAST"; int count; struct in_addr *ip_list, bcast_addr; - extern struct in_addr ipzero; /* does port = 137 for win95 master browser? */ int fd= open_socket_in( SOCK_DGRAM, 0, 3,