gdb/ChangeLog:
        * sol-thread.c (solaris_pid_to_str): Make static.
        (_initialize_sol_thread): Add prototype.
+2012-05-02  Joel Brobecker  <brobecker@adacore.com>
+
+       * sol-thread.c (solaris_pid_to_str): Make static.
+       (_initialize_sol_thread): Add prototype.
+
 2012-05-02  Joel Brobecker  <brobecker@adacore.com>
 
        * sol-thread.c (procfs_pid_to_str): Delete extern declaration.
 
 
 /* Convert PTID to printable form.  */
 
-char *
+static char *
 solaris_pid_to_str (struct target_ops *ops, ptid_t ptid)
 {
   static char buf[100];
   sol_thread_ops.to_magic = OPS_MAGIC;
 }
 
+/* Silence -Wmissing-prototypes.  */
+extern void _initialize_sol_thread (void);
+
 void
 _initialize_sol_thread (void)
 {