summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
authormouring <mouring>2002-04-06 23:52:02 +0000
committermouring <mouring>2002-04-06 23:52:02 +0000
commit59a5468754387c390d8ad1a13a9a083297ac738b (patch)
tree7fa42d80d11b90f785a6fb45020ad90f4dc0df7e /defines.h
parente383ee8641d984324c515325942baf1928f0f774 (diff)
downloadopenssh-59a5468754387c390d8ad1a13a9a083297ac738b.tar.gz
- (bal) We no longer use atexit()/xatexit()/on_exit()
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/defines.h b/defines.h
index ec0d8e58..d6a6a147 100644
--- a/defines.h
+++ b/defines.h
@@ -1,7 +1,7 @@
#ifndef _DEFINES_H
#define _DEFINES_H
-/* $Id: defines.h,v 1.84 2002/03/22 21:08:04 stevesk Exp $ */
+/* $Id: defines.h,v 1.85 2002/04/06 23:52:05 mouring Exp $ */
/* Necessary headers */
@@ -493,14 +493,6 @@ struct winsize {
# define memmove(s1, s2, n) bcopy((s2), (s1), (n))
#endif /* !defined(HAVE_MEMMOVE) && defined(HAVE_BCOPY) */
-#if !defined(HAVE_ATEXIT) && defined(HAVE_ON_EXIT)
-# define atexit(a) on_exit(a, NULL)
-#else
-# if defined(HAVE_XATEXIT)
-# define atexit(a) xatexit(a)
-# endif /* defined(HAVE_XATEXIT) */
-#endif /* !defined(HAVE_ATEXIT) && defined(HAVE_ON_EXIT) */
-
#if defined(HAVE_VHANGUP) && !defined(HAVE_DEV_PTMX)
# define USE_VHANGUP
#endif /* defined(HAVE_VHANGUP) && !defined(HAVE_DEV_PTMX) */