aboutsummaryrefslogtreecommitdiff
path: root/gdb/thread.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2009-03-26 21:30:26 +0000
committerDoug Evans <dje@google.com>2009-03-26 21:30:26 +0000
commita5321aa4d5bcbe30b94819727445a506e4fbe4b1 (patch)
treedbed6d8529845729ae65d73e78de4f82bd95ede9 /gdb/thread.c
parentdef2b0009c101b13fad1105c2c10424b35b3117b (diff)
downloadbinutils-a5321aa4d5bcbe30b94819727445a506e4fbe4b1.zip
binutils-a5321aa4d5bcbe30b94819727445a506e4fbe4b1.tar.gz
binutils-a5321aa4d5bcbe30b94819727445a506e4fbe4b1.tar.bz2
* thread.c (inferior_thread) Remove "extern" in definition.
Diffstat (limited to 'gdb/thread.c')
-rw-r--r--gdb/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/thread.c b/gdb/thread.c
index eaef50e..613137a 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);