summaryrefslogtreecommitdiff
path: root/elf/vismain.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/vismain.c')
-rw-r--r--elf/vismain.c27
1 files changed, 2 insertions, 25 deletions
diff --git a/elf/vismain.c b/elf/vismain.c
index a9769202c3..b49b62dccb 100644
--- a/elf/vismain.c
+++ b/elf/vismain.c
@@ -20,6 +20,8 @@
#include <stdlib.h>
#include <string.h>
+#include "vismod.h"
+
/* Prototype for our test function. */
extern int do_test (void);
@@ -28,31 +30,6 @@ extern int do_test (void);
/* This defines the `main' function and some more. */
#include <test-skeleton.c>
-/* Prototypes for the functions in the DSOs. */
-extern int calllocal1 (void);
-extern int (*getlocal1 (void)) (void);
-extern int callinmod1 (void);
-extern int (*getinmod1 (void)) (void);
-extern int callitcpt1 (void);
-extern int (*getitcpt1 (void)) (void);
-extern const char *getvarlocal1 (void);
-extern const char *getvarinmod1 (void);
-extern const char *getvaritcpt1 (void);
-extern int calllocal2 (void);
-extern int (*getlocal2 (void)) (void);
-extern int callinmod2 (void);
-extern int (*getinmod2 (void)) (void);
-extern int callitcpt2 (void);
-extern int (*getitcpt2 (void)) (void);
-extern const char *getvarlocal2 (void);
-extern const char *getvarinmod2 (void);
-extern const char *getvaritcpt2 (void);
-extern int callitcpt3 (void);
-extern int (*getitcpt3 (void)) (void);
-extern const char *getvaritcpt3 (void);
-
-extern int protinmod (void);
-extern int protitcpt (void);
/* Prototypes for local functions. */
extern int protlocal (void);