summaryrefslogtreecommitdiff
path: root/stdlib/old_atexit.c
blob: 45f330bec8311187754a3d27ff353cbfd4a27b9e (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 __dyn_atexit
# include "atexit.c"
# undef atexit
compat_symbol (libc, __dyn_atexit, atexit, GLIBC_2_0);
#endif