-Wwrite-strings: Constify target_pid_to_str and target_thread_extra_thread_info
[deliverable/binutils-gdb.git] / gdb / fbsd-nat.c
index 25952c3a69ba657bc3225bae76c94d5fec3295aa..5c4408b4aa6efa95d19b696d60990a98e06993c5 100644 (file)
@@ -368,7 +368,7 @@ fbsd_thread_alive (struct target_ops *ops, ptid_t ptid)
 /* Convert PTID to a string.  Returns the string in a static
    buffer.  */
 
-static char *
+static const char *
 fbsd_pid_to_str (struct target_ops *ops, ptid_t ptid)
 {
   lwpid_t lwp;
This page took 0.026922 seconds and 4 git commands to generate.