diff options
author | Andreas Jaeger <aj@suse.de> | 2000-12-17 17:09:01 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-12-17 17:09:01 +0000 |
commit | 715ed1e9a557ae8d06d532ddeb42c11b79327d9a (patch) | |
tree | aec8e70b3c17d3feeb9f06ac522325d84acdbf99 /elf/vismain.c | |
parent | 9fea9ed65f1c0b0792ab5105150337fc68d73f27 (diff) | |
download | glibc-715ed1e9a557ae8d06d532ddeb42c11b79327d9a.tar glibc-715ed1e9a557ae8d06d532ddeb42c11b79327d9a.tar.gz glibc-715ed1e9a557ae8d06d532ddeb42c11b79327d9a.tar.bz2 glibc-715ed1e9a557ae8d06d532ddeb42c11b79327d9a.zip |
Update.
2000-12-17 Andreas Jaeger <aj@suse.de>
* elf/vismain.c: Move prototypes for functions in vismod*.c to
vismod.h.
* elf/vismod.h: New file.
* elf/Makefile (distribute): Add vismod.h.
* elf/vismod1.c: Include vismod.h.
* elf/vismod2.c: Likewise.
* elf/vismod3.c: Likewise.
* elf/constload3.c: Add prototype declarations to shut up gcc.
* elf/failobj.c: Likewise.
* elf/nodelmod3.c: Likewise.
* elf/filtmod1.c: Likewise.
* elf/filtmod2.c: Likewise.
* elf/reldepmod1.c: Likewise.
* elf/reldepmod2.c: Likewise.
* elf/reldepmod3.c: Likewise.
* elf/reldepmod4.c: Likewise.
* elf/unload2dep.c: Likewise.
* elf/unload2mod.c: Likewise.
* elf/ltglobmod1.c: Likewise.
* elf/pathoptobj.c: Likewise.
* locale/programs/ld-collate.c (collate_finish): Don't use labels
at end of compound statement.
* locale/programs/locale.c (show_info): Likewise.
* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
Diffstat (limited to 'elf/vismain.c')
-rw-r--r-- | elf/vismain.c | 27 |
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); |