fix a bug that meant alpha6 couldn't compile.
authorAndrew Tridgell <tridge@samba.org>
Thu, 6 Jun 1996 00:29:22 +0000 (00:29 +0000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 6 Jun 1996 00:29:22 +0000 (00:29 +0000)
source/include/proto.h
source/namedb.c

index a3f522b2740402e04da2bff976d319faedfa78cb..8b39c4437b628e005dc8ba21f3c72c850600699c 100644 (file)
@@ -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);
index fc14c4d5c60a45196773c769f35f39c1b788a3c3..402617ffbd966599b1ad9ed3c14b35f574c252f4 100644 (file)
@@ -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;