aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-sol2-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/i386-sol2-tdep.c')
-rw-r--r--gdb/i386-sol2-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/i386-sol2-tdep.c b/gdb/i386-sol2-tdep.c
index e0964de..5273f52 100644
--- a/gdb/i386-sol2-tdep.c
+++ b/gdb/i386-sol2-tdep.c
@@ -79,8 +79,8 @@ i386_sol2_mcontext_addr (struct frame_info *this_frame)
/* SunPRO encodes the static variables. This is not related to C++
mangling, it is done for C too. */
-static char *
-i386_sol2_static_transform_name (char *name)
+static const char *
+i386_sol2_static_transform_name (const char *name)
{
char *p;
if (name[0] == '.')