summaryrefslogtreecommitdiff
path: root/ldso/libdl
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-08-19 10:24:54 +0000
committerEric Andersen <andersen@codepoet.org>2002-08-19 10:24:54 +0000
commitc9c318ea7ff9d44c90a143fed902a074b425279f (patch)
tree03d09edb9bcb05a078ced747c1993cd791481d4a /ldso/libdl
parent5a66fdf15990341c1732c77ef2d1fbc8510f6899 (diff)
missed const-ifying this one.
Diffstat (limited to 'ldso/libdl')
-rw-r--r--ldso/libdl/dlib.c2
-rw-r--r--ldso/libdl/libdl.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ldso/libdl/dlib.c b/ldso/libdl/dlib.c
index d68ff1356..b8f7d9128 100644
--- a/ldso/libdl/dlib.c
+++ b/ldso/libdl/dlib.c
@@ -39,7 +39,7 @@ static void __attribute__ ((unused)) foobar(void)
static int __attribute__ ((unused)) foobar1 = (int) foobar; /* Use as pointer */
extern void _dl_dprintf(int, const char *, ...) __attribute__ ((__weak__, __alias__ ("foobar")));
-extern char *_dl_find_hash(char *, struct dyn_elf *, struct elf_resolve *, enum caller_type)
+extern char *_dl_find_hash(const char *, struct dyn_elf *, struct elf_resolve *, enum caller_type)
__attribute__ ((__weak__, __alias__ ("foobar")));
extern struct elf_resolve * _dl_load_shared_library(int, struct dyn_elf **, struct elf_resolve *, char *)
__attribute__ ((__weak__, __alias__ ("foobar")));
diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c
index d68ff1356..b8f7d9128 100644
--- a/ldso/libdl/libdl.c
+++ b/ldso/libdl/libdl.c
@@ -39,7 +39,7 @@ static void __attribute__ ((unused)) foobar(void)
static int __attribute__ ((unused)) foobar1 = (int) foobar; /* Use as pointer */
extern void _dl_dprintf(int, const char *, ...) __attribute__ ((__weak__, __alias__ ("foobar")));
-extern char *_dl_find_hash(char *, struct dyn_elf *, struct elf_resolve *, enum caller_type)
+extern char *_dl_find_hash(const char *, struct dyn_elf *, struct elf_resolve *, enum caller_type)
__attribute__ ((__weak__, __alias__ ("foobar")));
extern struct elf_resolve * _dl_load_shared_library(int, struct dyn_elf **, struct elf_resolve *, char *)
__attribute__ ((__weak__, __alias__ ("foobar")));