aboutsummaryrefslogtreecommitdiff
path: root/stdlib/old_atexit.c
blob: 44bbd699bd74d47da06af9519df054fbf9a74d81 (plain)
1
2
3
4
5
6
7
8
#include <shlib-compat.h>

#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2_2)
# define atexit attribute_compat_text_section __dyn_atexit
# include "atexit.c"
# undef atexit
compat_symbol (libc, __dyn_atexit, atexit, GLIBC_2_0);
#endif