-Wwrite-strings: Constify target_pid_to_str and target_thread_extra_thread_info
[deliverable/binutils-gdb.git] / gdb / inferior.c
index c4ab6d7d7f6130d4a9b8c39fc8d5be337aac941c..4ae265edab3bd54bb4cc1b4607febb60b543e7a7 100644 (file)
@@ -542,7 +542,7 @@ number_of_inferiors (void)
 /* Converts an inferior process id to a string.  Like
    target_pid_to_str, but special cases the null process.  */
 
-static char *
+static const char *
 inferior_pid_to_str (int pid)
 {
   if (pid != 0)
This page took 0.024356 seconds and 4 git commands to generate.