aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fetchmail.c6
1 files changed, 3 insertions, 3 deletions
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) */
{