mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
a850e77f3f
* elf/loadfail.c: Little cosmetic changes to avoid warnings. * elf/loadtest.c: Likewise. * elf/multiload.c: Likewise. * elf/next.c: Likewise. * elf/nodelete.c: Likewise. * elf/noload.c: Likewise. * elf/order.c: Likewise. * elf/origtest.c: Likewise. * elf/preloadtest.c: Likewise. * elf/restest1.c: Likewise.
21 lines
243 B
C
21 lines
243 B
C
#include <stdio.h>
|
|
|
|
extern int preload (int);
|
|
|
|
int
|
|
main (void)
|
|
{
|
|
int res = preload (42);
|
|
|
|
printf ("preload (42) = %d, %s\n", res, res == 92 ? "ok" : "wrong");
|
|
|
|
return res != 92;
|
|
}
|
|
|
|
extern int foo (int a);
|
|
int
|
|
foo (int a)
|
|
{
|
|
return a;
|
|
}
|