diff options
author | Roland McGrath <roland@gnu.org> | 2003-03-29 03:46:03 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2003-03-29 03:46:03 +0000 |
commit | 8a3e01b9fb7b179be764d1c10cb0b33abd1e9f68 (patch) | |
tree | fc002e1e4b696dc4d8446406c7e12eb8b550e936 /elf/vismod3.c | |
parent | dd731d53dcdbb24cd2a3f299a2ba4362505d3f55 (diff) | |
download | glibc-8a3e01b9fb7b179be764d1c10cb0b33abd1e9f68.zip glibc-8a3e01b9fb7b179be764d1c10cb0b33abd1e9f68.tar.gz glibc-8a3e01b9fb7b179be764d1c10cb0b33abd1e9f68.tar.bz2 |
2003-03-26 H.J. Lu <hjl@gnu.org>
* elf/vismod.h (getvarlocal1): Return const char **.
(getvarinmod1): Likewise.
(getvaritcpt1): Likewise.
(getvarlocal2): Likewise.
(getvarinmod2): Likewise.
(getvaritcpt2): Likewise.
(getvaritcpt3): Likewise.
* elf/vismain.c (do_test): Adjusted.
* elf/vismod1.c (getvarlocal1): Return address.
(getvarinmod1): Likewise.
(getvaritcpt1): Likewise.
* elf/vismod2.c (getvarlocal2): Likewise.
(getvarinmod2): Likewise.
(getvaritcpt2): Likewise.
* elf/vismod3.c (getvaritcpt3): Likewise.
Diffstat (limited to 'elf/vismod3.c')
-rw-r--r-- | elf/vismod3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/vismod3.c b/elf/vismod3.c index cde3291..c9df95c 100644 --- a/elf/vismod3.c +++ b/elf/vismod3.c @@ -40,8 +40,8 @@ int const char *protvaritcpt = __FILE__; asm (".protected protvaritcpt"); -const char * +const char ** getvaritcpt3 (void) { - return protvaritcpt; + return &protvaritcpt; } |