about summary refs log tree commit diff
path: root/elf/vismod1.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/vismod1.c')
-rw-r--r--elf/vismod1.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/elf/vismod1.c b/elf/vismod1.c
index 807dfe15c4..6f9c1a59f9 100644
--- a/elf/vismod1.c
+++ b/elf/vismod1.c
@@ -79,26 +79,26 @@ int
 const char *protvarlocal = __FILE__;
 asm (".protected protvarlocal");
 
-const char *
+const char **
 getvarlocal1 (void)
 {
-  return protvarlocal;
+  return &protvarlocal;
 }
 
 const char *protvarinmod = __FILE__;
 asm (".protected protvarinmod");
 
-const char *
+const char **
 getvarinmod1 (void)
 {
-  return protvarinmod;
+  return &protvarinmod;
 }
 
 const char *protvaritcpt = __FILE__;
 asm (".protected protvaritcpt");
 
-const char *
+const char **
 getvaritcpt1 (void)
 {
-  return protvaritcpt;
+  return &protvaritcpt;
 }