From a5321aa4d5bcbe30b94819727445a506e4fbe4b1 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 26 Mar 2009 21:30:26 +0000 Subject: [PATCH] * thread.c (inferior_thread) Remove "extern" in definition. --- gdb/ChangeLog | 4 ++++ gdb/thread.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 055cc9697a9..695b09b4e5a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2009-03-26 Doug Evans + + * thread.c (inferior_thread) Remove "extern" in definition. + 2009-03-26 Thiago Jung Bauermann Add gdb.Value.is_optimized_out attribute. diff --git a/gdb/thread.c b/gdb/thread.c index eaef50eb587..613137afb66 100644 --- a/gdb/thread.c +++ b/gdb/thread.c @@ -72,7 +72,7 @@ enum thread_state THREAD_EXITED, }; -extern struct thread_info* +struct thread_info* inferior_thread (void) { struct thread_info *tp = find_thread_pid (inferior_ptid); -- 2.30.2