:pserver:cvsanon@mok.lvcm.com:/CVS/ReactOS reactos
[reactos.git] / include / msvcrt / internal / atexit.h
1 /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
2 #ifndef __dj_include_libc_atexit_h__
3 #define __dj_include_libc_dosexec_h__
4
5 #ifdef __cplusplus
6 extern "C" {
7 #endif
8
9 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
10
11 #ifndef __STRICT_ANSI__
12
13 #ifndef _POSIX_SOURCE
14
15 struct __atexit {
16   struct __atexit *__next;
17   void (*__function)(void);
18 };
19
20 extern struct __atexit *__atexit_ptr;
21
22 #endif /* !_POSIX_SOURCE */
23 #endif /* !__STRICT_ANSI__ */
24 #endif /* !__dj_ENFORCE_ANSI_FREESTANDING */
25
26 #ifndef __dj_ENFORCE_FUNCTION_CALLS
27 #endif /* !__dj_ENFORCE_FUNCTION_CALLS */
28
29 #ifdef __cplusplus
30 }
31 #endif
32
33 #endif /* __dj_include_libc_dosexec_h__ */