diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-08-08 02:35:30 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-08-08 02:35:30 +0000 |
commit | 0013dca7581a45bac2fcbc53f555de9db76be893 (patch) | |
tree | 52c7f24f7ff42d94a6858caf620443b4971b103a /fetchmail.c | |
parent | 23c6941780b70d232da933d9e5e2cb44594544b3 (diff) | |
download | fetchmail-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.c | 6 |
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) */ { |