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/nmbd/nmbd.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/nmbd/nmbd.c')
-rw-r--r-- | source3/nmbd/nmbd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index 837f98e8bb..8373997e64 100644 --- a/source3/nmbd/nmbd.c +++ b/source3/nmbd/nmbd.c @@ -61,7 +61,7 @@ extern struct in_addr ipzero; /**************************************************************************** ** catch a sigterm **************************************************************************** */ -static int sig_term() +static int sig_term(void) { BlockSignals(True,SIGTERM); @@ -441,7 +441,7 @@ static BOOL open_sockets(BOOL isdaemon, int port) /**************************************************************************** ** initialise connect, service and file structs **************************************************************************** */ -static BOOL init_structs() +static BOOL init_structs(void) { extern fstring local_machine; char *p, *ptr; @@ -577,7 +577,7 @@ int main(int argc,char *argv[]) argc--; } - fault_setup( fault_continue ); + fault_setup((void (*)(void *))fault_continue ); signal( SIGHUP, SIGNAL_CAST sig_hup ); signal( SIGTERM, SIGNAL_CAST sig_term ); |