-Wwrite-strings: Constify target_pid_to_str and target_thread_extra_thread_info
[deliverable/binutils-gdb.git] / gdb / sol2-tdep.c
index 89eda53768bfff4156a3edee1963b4f0952dfcf2..7a06aa7a0d92babde42428df11e8379abc7124a4 100644 (file)
@@ -40,7 +40,7 @@ sol2_skip_solib_resolver (struct gdbarch *gdbarch, CORE_ADDR pc)
 /* This is how we want PTIDs from Solaris core files to be
    printed.  */
 
-char *
+const char *
 sol2_core_pid_to_str (struct gdbarch *gdbarch, ptid_t ptid)
 {
   static char buf[80];
This page took 0.0277 seconds and 4 git commands to generate.