about summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/backtracesyms.c4
-rw-r--r--sysdeps/generic/elf/backtracesyms.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/generic/backtracesyms.c b/sysdeps/generic/backtracesyms.c
index 36bd39caaf..76019eec3d 100644
--- a/sysdeps/generic/backtracesyms.c
+++ b/sysdeps/generic/backtracesyms.c
@@ -29,12 +29,12 @@
 
 char **
 __backtrace_symbols (array, size)
-     const void **array;
+     void *const *array;
      int size;
 {
   int cnt;
   size_t total = 0;
-  const char **result;
+  char **result;
 
   /* We can compute the text size needed for the symbols since we print
      them all as "[%<addr>]".  */
diff --git a/sysdeps/generic/elf/backtracesyms.c b/sysdeps/generic/elf/backtracesyms.c
index 11a65ea267..9941644f66 100644
--- a/sysdeps/generic/elf/backtracesyms.c
+++ b/sysdeps/generic/elf/backtracesyms.c
@@ -35,7 +35,7 @@
 
 char **
 __backtrace_symbols (array, size)
-     const void **array;
+     void *const *array;
      int size;
 {
   Dl_info info[size];