From 0013dca7581a45bac2fcbc53f555de9db76be893 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 8 Aug 1997 02:35:30 +0000 Subject: Another fix or the ISC port. svn path=/trunk/; revision=1249 --- fetchmail.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fetchmail.c') diff --git a/fetchmail.c b/fetchmail.c index 65c196b2..27960e3c 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -80,10 +80,10 @@ static void termhook(); /* forward declaration of exit hook */ RETSIGTYPE donothing(sig) int sig; {signal(sig, donothing); lastsig = sig;} -#ifdef HAVE_ATEXIT -static void unlockit(void) -#else /* use on_exit(), e.g. on SunOS */ +#ifdef HAVE_ON_EXIT static void unlockit(int n, void *p) +#else +static void unlockit(void) #endif /* must-do actions for exit (but we can't count on being able to do malloc) */ { -- cgit v1.2.3