From cac6a060af598bf94e6414b06e7365ec51ca360e Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 13 Apr 1998 19:24:06 +0000 Subject: 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) --- source3/lib/fault.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/lib/fault.c') diff --git a/source3/lib/fault.c b/source3/lib/fault.c index e3299c50dbd..f46ccbb1855 100644 --- a/source3/lib/fault.c +++ b/source3/lib/fault.c @@ -23,7 +23,7 @@ extern int DEBUGLEVEL; -static void (*cont_fn)(); +static void (*cont_fn)(void *); /******************************************************************* @@ -66,7 +66,7 @@ static void sig_fault(int sig) /******************************************************************* setup our fault handlers ********************************************************************/ -void fault_setup(void (*fn)()) +void fault_setup(void (*fn)(void *)) { cont_fn = fn; -- cgit