aboutsummaryrefslogtreecommitdiff
path: root/elf/vismod2.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/vismod2.c')
-rw-r--r--elf/vismod2.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/elf/vismod2.c b/elf/vismod2.c
index f2d5c22da6..5443e7c8a7 100644
--- a/elf/vismod2.c
+++ b/elf/vismod2.c
@@ -80,28 +80,28 @@ int
const char *protvarlocal = __FILE__;
asm (".protected protvarlocal");
-const char *
+const char **
getvarlocal2 (void)
{
- return protvarlocal;
+ return &protvarlocal;
}
const char *protvarinmod = __FILE__;
asm (".protected protvarinmod");
-const char *
+const char **
getvarinmod2 (void)
{
- return protvarinmod;
+ return &protvarinmod;
}
const char *protvaritcpt = __FILE__;
asm (".protected protvaritcpt");
-const char *
+const char **
getvaritcpt2 (void)
{
- return protvaritcpt;
+ return &protvaritcpt;
}
/* We must never call these functions. */
@@ -117,7 +117,7 @@ int
abort ();
}
-const char *
+const char **
getvaritcpt3 (void)
{
abort ();