aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
parentdef2b0009c101b13fad1105c2c10424b35b3117b (diff)
downloadgdb-a5321aa4d5bcbe30b94819727445a506e4fbe4b1.zip
gdb-a5321aa4d5bcbe30b94819727445a506e4fbe4b1.tar.gz
gdb-a5321aa4d5bcbe30b94819727445a506e4fbe4b1.tar.bz2
* thread.c (inferior_thread) Remove "extern" in definition.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/thread.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 055cc96..695b09b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2009-03-26 Doug Evans <dje@google.com>
+
+ * thread.c (inferior_thread) Remove "extern" in definition.
+
2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
Add gdb.Value.is_optimized_out attribute.
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);