-Wwrite-strings: Constify target_pid_to_str and target_thread_extra_thread_info
[deliverable/binutils-gdb.git] / gdb / sol-thread.c
index 7c1620a0f68b59e971dbf15d21308255d48ff9f1..39dae864a39cfa3fc1d670979534d5f2a6cd5271 100644 (file)
@@ -1021,7 +1021,7 @@ ps_lgetLDT (gdb_ps_prochandle_t ph, lwpid_t lwpid,
 
 /* Convert PTID to printable form.  */
 
-static char *
+static const char *
 solaris_pid_to_str (struct target_ops *ops, ptid_t ptid)
 {
   static char buf[100];
This page took 0.024031 seconds and 4 git commands to generate.