diff options
author | Jeremy Allison <jra@samba.org> | 1998-06-09 02:17:06 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-06-09 02:17:06 +0000 |
commit | 75e909f27db1e1ff69897e477a2c4704faf9a2fb (patch) | |
tree | f6b62722f5ef629606fcfd96069a4b4610acd4d9 /source3 | |
parent | 96bc4042779570e6239b2626888ea0ca9be17391 (diff) | |
download | samba-75e909f27db1e1ff69897e477a2c4704faf9a2fb.tar.gz samba-75e909f27db1e1ff69897e477a2c4704faf9a2fb.tar.bz2 samba-75e909f27db1e1ff69897e477a2c4704faf9a2fb.zip |
Fixed compile problem after make proto.
Chris's reformating of the (rather long named function) find_name_for_remote_broadcast_subnet
(moving the function name onto a line on it's own) caused the proto
awk script to miss it.
Jeremy.
(This used to be commit 17c758687f0ec6040633bc1815a52627b7e15f02)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/proto.h | 31 | ||||
-rw-r--r-- | source3/nmbd/nmbd_namelistdb.c | 5 |
2 files changed, 19 insertions, 17 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 030528c032..9ad6e6b183 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1313,14 +1313,14 @@ void refresh_my_names(time_t t); /*The following definitions come from nmbd_namelistdb.c */ void set_samba_nb_type(void); -BOOL ms_browser_name(char *name, int type); -void remove_name_from_namelist(struct subnet_record *subrec, - struct name_record *namerec); +BOOL ms_browser_name( char *name, int type ); +void remove_name_from_namelist( struct subnet_record *subrec, + struct name_record *namerec ); struct name_record *find_name_on_subnet(struct subnet_record *subrec, struct nmb_name *nmbname, BOOL self_only); -struct name_record *find_name_for_remote_broadcast_subnet( struct nmb_name *nmbname, - BOOL self_only); -void update_name_ttl(struct name_record *namerec, int ttl); +struct name_record *find_name_for_remote_broadcast_subnet( struct nmb_name *nmbname, + BOOL self_only ); +void update_name_ttl( struct name_record *namerec, int ttl ); struct name_record *add_name_to_subnet(struct subnet_record *subrec, char *name, int type, uint16 nb_flags, int ttl, enum name_source source, int num_ips, struct in_addr *iplist); @@ -1328,17 +1328,20 @@ void standard_success_register(struct subnet_record *subrec, struct userdata_struct *userdata, struct nmb_name *nmbname, uint16 nb_flags, int ttl, struct in_addr registered_ip); -void standard_fail_register(struct subnet_record *subrec, - struct response_record *rrec, struct nmb_name *nmbname); -BOOL find_ip_in_name_record(struct name_record *namerec, struct in_addr ip); +void standard_fail_register( struct subnet_record *subrec, + struct response_record *rrec, + struct nmb_name *nmbname ); +BOOL find_ip_in_name_record( struct name_record *namerec, struct in_addr ip ); void add_ip_to_name_record(struct name_record *namerec, struct in_addr new_ip); -void remove_ip_from_name_record( struct name_record *namerec, struct in_addr remove_ip); -void standard_success_release(struct subnet_record *subrec, - struct userdata_struct *userdata, - struct nmb_name *nmbname, struct in_addr released_ip); +void remove_ip_from_name_record( struct name_record *namerec, + struct in_addr remove_ip ); +void standard_success_release( struct subnet_record *subrec, + struct userdata_struct *userdata, + struct nmb_name *nmbname, + struct in_addr released_ip ); void expire_names_on_subnet(struct subnet_record *subrec, time_t t); void expire_names(time_t t); -void add_samba_names_to_subnet(struct subnet_record *subrec); +void add_samba_names_to_subnet( struct subnet_record *subrec ); void dump_all_namelists(void); /*The following definitions come from nmbd_namequery.c */ diff --git a/source3/nmbd/nmbd_namelistdb.c b/source3/nmbd/nmbd_namelistdb.c index 6375dad4a2..f9a348eeea 100644 --- a/source3/nmbd/nmbd_namelistdb.c +++ b/source3/nmbd/nmbd_namelistdb.c @@ -144,9 +144,8 @@ struct name_record *find_name_on_subnet(struct subnet_record *subrec, Find a name over all known broadcast subnets. **************************************************************************/ -struct name_record - *find_name_for_remote_broadcast_subnet( struct nmb_name *nmbname, - BOOL self_only ) +struct name_record *find_name_for_remote_broadcast_subnet( struct nmb_name *nmbname, + BOOL self_only ) { struct subnet_record *subrec; struct name_record *namerec = NULL; |