Update.
[glibc.git] / elf / dep2.c
blob9dc5cfcf55dc3df521248a4b616b5405aa4568b9
1 #include <unistd.h>
3 extern int dep3 (void);
4 extern int dep4 (void);
6 static void
7 __attribute__ ((constructor))
8 init (void)
10 write (1, "2", 1);
13 static void
14 __attribute__ ((destructor))
15 fini (void)
17 write (1, "7", 1);
20 int
21 dep2 (void)
23 return dep3 () - dep4 ();