Adjust for __libc_res_nquery and __libc_res_nsearch interface changes.
[glibc/history.git] / elf / order2mod2.c
blob026cd2acc46825ccee15d7b1437c0d9881a4a998
1 #include <stdio.h>
3 extern int foo (void);
4 extern int bar (void);
6 void
7 __attribute__ ((constructor))
8 init (void)
10 (void) (foo () - bar ());
13 static void
14 __attribute__ ((destructor))
15 fini (void)
17 putchar ('2');