aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-08-08 02:35:30 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-08-08 02:35:30 +0000
commit0013dca7581a45bac2fcbc53f555de9db76be893 (patch)
tree52c7f24f7ff42d94a6858caf620443b4971b103a /fetchmail.c
parent23c6941780b70d232da933d9e5e2cb44594544b3 (diff)
downloadfetchmail-0013dca7581a45bac2fcbc53f555de9db76be893.tar.gz
fetchmail-0013dca7581a45bac2fcbc53f555de9db76be893.tar.bz2
fetchmail-0013dca7581a45bac2fcbc53f555de9db76be893.zip
Another fix or the ISC port.
svn path=/trunk/; revision=1249
Diffstat (limited to 'fetchmail.c')
-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) */
{