]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/nto-tdep.c
-Wwrite-strings: Constify target_pid_to_str and target_thread_extra_thread_info
[thirdparty/binutils-gdb.git] / gdb / nto-tdep.c
index 96a3af325a165bc5ba2c657353f06f27f3609696..04ad06c431a0e8c8e6c4286f06185be01d727b0d 100644 (file)
@@ -408,7 +408,7 @@ static const char *nto_thread_state_str[] =
   "NET_REPLY"  /* 20 0x14 */
 };
 
-char *
+const char *
 nto_extra_thread_info (struct target_ops *self, struct thread_info *ti)
 {
   if (ti && ti->priv