diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2005-10-30 18:11:15 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2005-10-30 18:11:15 +0000 |
commit | 6fae1ebc493bd2c9bb3c6be646f9c2de74329952 (patch) | |
tree | f93b6baae17c481b9dab38538c2dac7df8ba52f3 /lock.c | |
parent | 98ff8ea5f7d45b7beab07d5c7242e2f7dafcd26b (diff) | |
download | fetchmail-6fae1ebc493bd2c9bb3c6be646f9c2de74329952.tar.gz fetchmail-6fae1ebc493bd2c9bb3c6be646f9c2de74329952.tar.bz2 fetchmail-6fae1ebc493bd2c9bb3c6be646f9c2de74329952.zip |
Bury on_exit() officially - hasn't worked since 6.0.0 or even longer.
svn path=/trunk/; revision=4373
Diffstat (limited to 'lock.c')
-rw-r--r-- | lock.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -47,11 +47,7 @@ void lock_setup(void) #undef FETCHMAIL_PIDFILE } -#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) */ { if (lockfile && lock_acquired) @@ -64,9 +60,6 @@ void lock_dispose(void) #ifdef HAVE_ATEXIT atexit(unlockit); #endif -#ifdef HAVE_ON_EXIT - on_exit(unlockit, (char *)NULL); -#endif } int lock_state(void) |