From d57dda0ab3da976aeedce4a5c792a584d3fb9ec0 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Sun, 5 Jan 2014 15:38:44 +0800 Subject: [PATCH] Remove declaration of inf_tid_to_proc inf_tid_to_proc is not defined at all. This patch is to remove its declaration. gdb: 2014-01-07 Yao Qi * gnu-nat.c (inf_tid_to_proc): Remove declaration. --- gdb/ChangeLog | 4 ++++ gdb/gnu-nat.c | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f61a484306..6d49fec347 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2014-01-07 Yao Qi + + * gnu-nat.c (inf_tid_to_proc): Remove declaration. + 2014-01-07 Yao Qi * gnu-nat.c (_initialize_gnu_nat): Declare. diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c index 8c45dcf81d..7e58b4fbbf 100644 --- a/gdb/gnu-nat.c +++ b/gdb/gnu-nat.c @@ -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);