aboutsummaryrefslogtreecommitdiff
path: root/gdb/sol-thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/sol-thread.c')
-rw-r--r--gdb/sol-thread.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c
index bfa1162..01bc2e0 100644
--- a/gdb/sol-thread.c
+++ b/gdb/sol-thread.c
@@ -1132,7 +1132,7 @@ ps_lgetLDT (gdb_ps_prochandle_t ph, lwpid_t lwpid,
/* Convert PTID to printable form. */
-char *
+static char *
solaris_pid_to_str (struct target_ops *ops, ptid_t ptid)
{
static char buf[100];
@@ -1340,6 +1340,9 @@ init_sol_thread_ops (void)
sol_thread_ops.to_magic = OPS_MAGIC;
}
+/* Silence -Wmissing-prototypes. */
+extern void _initialize_sol_thread (void);
+
void
_initialize_sol_thread (void)
{