2000-10-13 Michael Fedrowitz <michael@fedrowitz.de>
[glibc.git] / elf / dep1.c
blob49dc2a22d9544afdec2653ccde8956c8c6d684df
1 #include <unistd.h>
3 extern int dep2 (void);
4 extern int dep4 (void);
6 static void
7 __attribute__ ((constructor))
8 init (void)
10 write (1, "3", 1);
13 static void
14 __attribute__ ((destructor))
15 fini (void)
17 write (1, "6", 1);
20 int
21 dep1 (void)
23 return dep4 () - dep2 ();