summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1996-06-06 00:29:22 +0000
committerAndrew Tridgell <tridge@samba.org>1996-06-06 00:29:22 +0000
commit19d1b1eb5fdb3aa466e0195db38c046c44a0ce9a (patch)
tree2f5bde42d0e3494f0d9300efcba3bfdc8d73fcc7
parenta127ecf7724945a1cd359c7d38d99ee8071f3547 (diff)
downloadsamba-19d1b1eb5fdb3aa466e0195db38c046c44a0ce9a.tar.gz
samba-19d1b1eb5fdb3aa466e0195db38c046c44a0ce9a.tar.bz2
samba-19d1b1eb5fdb3aa466e0195db38c046c44a0ce9a.zip
fix a bug that meant alpha6 couldn't compile.
(This used to be commit 07288091c322fdb9f63889e84cfc57fa6cb5f613)
-rw-r--r--source3/include/proto.h4
-rw-r--r--source3/namedb.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index a3f522b274..8b39c4437b 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -111,6 +111,7 @@ struct work_record *remove_workgroup(struct domain_record *d,
void expire_browse_cache(time_t t);
struct work_record *find_workgroupstruct(struct domain_record *d, fstring name, BOOL add);
struct domain_record *find_domain(struct in_addr source_ip);
+void dump_workgroups(void);
struct domain_record *add_domain_entry(struct in_addr source_ip,
struct in_addr source_mask,
char *name, BOOL add);
@@ -142,7 +143,8 @@ void reply_netbios_packet(struct packet_struct *p1,int trn_id,int rcode,int opco
struct nmb_name *rr_name,int rr_type,int rr_class,int ttl,
char *data,int len);
uint16 initiate_netbios_packet(int fd,int quest_type,char *name,int name_type,
- int nb_flags,BOOL bcast,BOOL recurse,struct in_addr to_ip);
+ int nb_flags,BOOL bcast,BOOL recurse,
+ struct in_addr to_ip);
void queue_netbios_pkt_wins(int fd,int quest_type,enum cmd_type cmd,
char *name,int name_type,int nb_flags,
BOOL bcast,BOOL recurse,struct in_addr to_ip);
diff --git a/source3/namedb.c b/source3/namedb.c
index fc14c4d5c6..402617ffbd 100644
--- a/source3/namedb.c
+++ b/source3/namedb.c
@@ -379,7 +379,7 @@ struct domain_record *find_domain(struct in_addr source_ip)
/****************************************************************************
dump a copy of the workgroup/domain database
**************************************************************************/
-static void dump_workgroups(void)
+void dump_workgroups(void)
{
struct domain_record *d;