-Wwrite-strings: Constify target_pid_to_str and target_thread_extra_thread_info
[deliverable/binutils-gdb.git] / gdb / linux-nat.c
index dff0da568a778e0d3033d867fccd7b3e9aff0073..b06e400fdc21d63d055dec3bf2378970ca70b2bd 100644 (file)
@@ -3940,7 +3940,7 @@ linux_nat_update_thread_list (struct target_ops *ops)
     }
 }
 
-static char *
+static const char *
 linux_nat_pid_to_str (struct target_ops *ops, ptid_t ptid)
 {
   static char buf[64];
This page took 0.024705 seconds and 4 git commands to generate.