summaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-04-06 02:50:16 +0000
committerRoland McGrath <roland@gnu.org>2005-04-06 02:50:16 +0000
commit65e9e91064766e909513dd4610f2bc98aff9f901 (patch)
treeef479de71fd3cd67bde9bf4dde5df28c8a57dced /elf
parent83973e6aa379621135d5c5e7a5f87eac08d2c0f8 (diff)
2005-03-05 Roland McGrath <roland@redhat.com>
[BZ #821] * elf/unload3mod4.c: Declare foo. * elf/testobj2.c: Include <stdio.h>.
Diffstat (limited to 'elf')
-rw-r--r--elf/testobj2.c1
-rw-r--r--elf/unload3mod4.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/elf/testobj2.c b/elf/testobj2.c
index f00ba9f3e6..7e4b610982 100644
--- a/elf/testobj2.c
+++ b/elf/testobj2.c
@@ -1,5 +1,6 @@
#include <dlfcn.h>
#include <stdlib.h>
+#include <stdio.h>
#include "testobj.h"
diff --git a/elf/unload3mod4.c b/elf/unload3mod4.c
index 4586ff7383..52f808e79b 100644
--- a/elf/unload3mod4.c
+++ b/elf/unload3mod4.c
@@ -1,5 +1,7 @@
#include <stdio.h>
+extern int foo (int x);
+
int
bar (int x)
{