]> git.ipfire.org Git - thirdparty/glibc.git/blame - elf/dep2.c
nptl/tst-cancel25 needs to be an internal test
[thirdparty/glibc.git] / elf / dep2.c
CommitLineData
c0c2af07
UD
1#include <unistd.h>
2
1a511d31 3extern int dep2 (void);
c0c2af07
UD
4extern int dep3 (void);
5extern int dep4 (void);
6
7static void
8__attribute__ ((constructor))
9init (void)
10{
11 write (1, "2", 1);
12}
13
14static void
15__attribute__ ((destructor))
16fini (void)
17{
18 write (1, "7", 1);
19}
20
21int
22dep2 (void)
23{
24 return dep3 () - dep4 ();
25}