-Wwrite-strings: Constify target_pid_to_str and target_thread_extra_thread_info
[deliverable/binutils-gdb.git] / gdb / linux-tdep.c
index 1a3e48d83d937b393efc98c821030272ec4b269d..016aadff6b475a69968213c56861706f5da0d91e 100644 (file)
@@ -407,7 +407,7 @@ linux_has_shared_address_space (struct gdbarch *gdbarch)
 
 /* This is how we want PTIDs from core files to be printed.  */
 
-static char *
+static const char *
 linux_core_pid_to_str (struct gdbarch *gdbarch, ptid_t ptid)
 {
   static char buf[80];
This page took 0.024475 seconds and 4 git commands to generate.