aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'elf/testobj2.c')
-rw-r--r--elf/testobj2.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/elf/testobj2.c b/elf/testobj2.c
index 6514c56393..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"
@@ -23,3 +24,9 @@ preload (int a)
return fp (a) + 10;
return 10;
}
+
+void
+p (void)
+{
+ puts ("hello world");
+}