Remove declaration of inf_tid_to_proc
authorYao Qi <yao@codesourcery.com>
Sun, 5 Jan 2014 07:38:44 +0000 (15:38 +0800)
committerYao Qi <yao@codesourcery.com>
Tue, 7 Jan 2014 03:01:33 +0000 (11:01 +0800)
inf_tid_to_proc is not defined at all.  This patch is to remove its
declaration.
gdb:

2014-01-07  Yao Qi  <yao@codesourcery.com>

* gnu-nat.c (inf_tid_to_proc): Remove declaration.

gdb/ChangeLog
gdb/gnu-nat.c

index f61a484..6d49fec 100644 (file)
@@ -1,5 +1,9 @@
 2014-01-07  Yao Qi  <yao@codesourcery.com>
 
+       * gnu-nat.c (inf_tid_to_proc): Remove declaration.
+
+2014-01-07  Yao Qi  <yao@codesourcery.com>
+
        * gnu-nat.c (_initialize_gnu_nat): Declare.
 
 2014-01-07  Yao Qi  <yao@codesourcery.com>
index 8c45dcf..7e58b4f 100644 (file)
@@ -96,7 +96,6 @@ void inf_set_pid (struct inf *inf, pid_t pid);
 void inf_validate_procs (struct inf *inf);
 void inf_steal_exc_ports (struct inf *inf);
 void inf_restore_exc_ports (struct inf *inf);
-struct proc *inf_tid_to_proc (struct inf *inf, int tid);
 void inf_set_threads_resume_sc (struct inf *inf,
                                struct proc *run_thread,
                                int run_others);