aboutsummaryrefslogtreecommitdiff
path: root/elf/testobj1.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-01-21 08:31:59 +0000
committerUlrich Drepper <drepper@redhat.com>1999-01-21 08:31:59 +0000
commitfe60f7648c0e524fced3b0c9aacac98e8fa8aa99 (patch)
treebbf3957ace4c3b33a732229237e68a164ca389c5 /elf/testobj1.c
parent82df2969f85d63e08f0c6ea33c0602c29039ec51 (diff)
downloadglibc-fe60f7648c0e524fced3b0c9aacac98e8fa8aa99.zip
glibc-fe60f7648c0e524fced3b0c9aacac98e8fa8aa99.tar.gz
glibc-fe60f7648c0e524fced3b0c9aacac98e8fa8aa99.tar.bz2
Update.
1999-01-21 Ulrich Drepper <drepper@cygnus.com> * elf/Makefile: Change rule to make test module so that they are compiled using -fPIC. * elf/testobj1.c: Add missing prototype. * elf/testobj1_1.c: Likewise. * elf/testobj2.c: Likewise. * elf/testobj3.c: Likewise. * elf/testobj4.c: Likewise. * elf/testobj5.c: Likewise. * elf/testobj6.c: Likewise.
Diffstat (limited to 'elf/testobj1.c')
-rw-r--r--elf/testobj1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/testobj1.c b/elf/testobj1.c
index 354e1a7..d5b485f 100644
--- a/elf/testobj1.c
+++ b/elf/testobj1.c
@@ -1,6 +1,8 @@
#include <dlfcn.h>
#include <stdlib.h>
+extern int foo (int);
+
int
obj1func1 (int a __attribute__ ((unused)))
{