-Wwrite-strings: Constify target_pid_to_str and target_thread_extra_thread_info
[deliverable/binutils-gdb.git] / gdb / remote-sim.c
index 0e8d65779f6f4609cee74700b2edcba6939d24d4..4396d4bcfe4dec20d03e68549b3503a719dd5133 100644 (file)
@@ -1270,7 +1270,7 @@ gdbsim_thread_alive (struct target_ops *ops, ptid_t ptid)
 /* Convert a thread ID to a string.  Returns the string in a static
    buffer.  */
 
-static char *
+static const char *
 gdbsim_pid_to_str (struct target_ops *ops, ptid_t ptid)
 {
   return normal_pid_to_str (ptid);
This page took 0.023817 seconds and 4 git commands to generate.