ubuntu-buildroot/output/build/glibc-2.36-81-g4f4d7a13edfd.../elf/dep4.c

25 lines
267 B
C
Raw Permalink Normal View History

2024-04-01 15:19:46 +00:00
#include <unistd.h>
extern int dep3 (void);
extern int dep4 (void);
static void
__attribute__ ((constructor))
init (void)
{
write (1, "1", 1);
}
static void
__attribute__ ((destructor))
fini (void)
{
write (1, "8", 1);
}
int
dep4 (void)
{
return dep3 ();
}