.
[glibc/history.git] / elf / dep1.c
blob7ef47adb4382c01913f150aea2037fe5f2ee6ed1
1 #include <unistd.h>
3 extern int dep1 (void);
4 extern int dep2 (void);
5 extern int dep4 (void);
7 static void
8 __attribute__ ((constructor))
9 init (void)
11 write (1, "3", 1);
14 static void
15 __attribute__ ((destructor))
16 fini (void)
18 write (1, "6", 1);
21 int
22 dep1 (void)
24 return dep4 () - dep2 ();