diff options
author | Jeremy Allison <jra@samba.org> | 1998-04-13 19:24:06 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-04-13 19:24:06 +0000 |
commit | cac6a060af598bf94e6414b06e7365ec51ca360e (patch) | |
tree | 45249e753e580c2d2cb670db1d24ee41701c5285 /source3/lib/util.c | |
parent | 47ec2e09b7e1b29e41862916a27f189ba6552582 (diff) | |
download | samba-cac6a060af598bf94e6414b06e7365ec51ca360e.tar.gz samba-cac6a060af598bf94e6414b06e7365ec51ca360e.tar.bz2 samba-cac6a060af598bf94e6414b06e7365ec51ca360e.zip |
Changes to allow Samba to be compiled with -Wstrict-prototypes
with gcc. (Not a big change although it looks like it :-).
Jeremy.
(This used to be commit cd2613c57261456485fe4eeecfda209ada70de8e)
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r-- | source3/lib/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index 96cb86a1d8..2990a336c5 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -3721,7 +3721,7 @@ static BOOL matchname(char *remotehost,struct in_addr addr) static BOOL global_client_name_done = False; static BOOL global_client_addr_done = False; -void reset_globals_after_fork() +void reset_globals_after_fork(void) { global_client_name_done = False; global_client_addr_done = False; @@ -4621,7 +4621,7 @@ void set_remote_arch(enum remote_arch_types type) /******************************************************************* Get the remote_arch type. ********************************************************************/ -enum remote_arch_types get_remote_arch() +enum remote_arch_types get_remote_arch(void) { return ra_type; } |