aboutsummaryrefslogtreecommitdiff
path: root/elf/testobj5.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-15 16:03:57 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-15 16:03:57 +0000
commit1a511d31055bb3fe7638b043d5c5c57d929c51cd (patch)
treecb2307942b7ef0ca15763b48ef40911198903523 /elf/testobj5.c
parent8ab5926a261825b43c8ce82b4c64541448b73869 (diff)
downloadglibc-1a511d31055bb3fe7638b043d5c5c57d929c51cd.zip
glibc-1a511d31055bb3fe7638b043d5c5c57d929c51cd.tar.gz
glibc-1a511d31055bb3fe7638b043d5c5c57d929c51cd.tar.bz2
Update.
2000-12-15 Andreas Jaeger <aj@suse.de> * stdio-common/scanf9.c (main): Reformat and change to avoid warnings. * stdio-common/tstdiomisc.c: Make local functions static. * stdio-common/tst-printf.c: Likewise. * elf/constload2.c: Add prototype declarations to shut up gcc. * elf/dep1.c: Likewise. * elf/dep2.c: Likewise. * elf/dep3.c: Likewise. * elf/dep4.c: Likewise. * elf/ltglobmod2.c: Likewise. * libio/fmemopen.c: Make local functions static. * elf/Makefile (distribute): Added testobj.h. * elf/testobj.h: New file. * elf/testobj1.c: Include testobj.h and move prototype declarations to testobj.h. * elf/testobj2.c: Likewise. * elf/testobj3.c: Likewise. * elf/testobj4.c: Likewise. * elf/testobj5.c: Likewise. * elf/testobj6.c: Likewise. * elf/testobj1_1.c: Likewise. * elf/preloadtest.c: Likewise.
Diffstat (limited to 'elf/testobj5.c')
-rw-r--r--elf/testobj5.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/testobj5.c b/elf/testobj5.c
index af36aa9..9675cad 100644
--- a/elf/testobj5.c
+++ b/elf/testobj5.c
@@ -1,7 +1,8 @@
#include <dlfcn.h>
#include <stdlib.h>
-extern int foo (int);
+#include "testobj.h"
+
int
obj5func1 (int a __attribute__ ((unused)))