aboutsummaryrefslogtreecommitdiff
path: root/gdb/bsd-uthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/bsd-uthread.c')
-rw-r--r--gdb/bsd-uthread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/bsd-uthread.c b/gdb/bsd-uthread.c
index 08b8f36..5d4775c 100644
--- a/gdb/bsd-uthread.c
+++ b/gdb/bsd-uthread.c
@@ -491,7 +491,7 @@ static char *bsd_uthread_state[] =
/* Return a string describing th state of the thread specified by
INFO. */
-static char *
+static const char *
bsd_uthread_extra_thread_info (struct target_ops *self,
struct thread_info *info)
{
@@ -511,7 +511,7 @@ bsd_uthread_extra_thread_info (struct target_ops *self,
return NULL;
}
-static char *
+static const char *
bsd_uthread_pid_to_str (struct target_ops *ops, ptid_t ptid)
{
if (ptid_get_tid (ptid) != 0)