diff options
author | Doug Evans <dje@google.com> | 2009-03-26 21:30:26 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2009-03-26 21:30:26 +0000 |
commit | a5321aa4d5bcbe30b94819727445a506e4fbe4b1 (patch) | |
tree | dbed6d8529845729ae65d73e78de4f82bd95ede9 | |
parent | def2b0009c101b13fad1105c2c10424b35b3117b (diff) | |
download | gdb-a5321aa4d5bcbe30b94819727445a506e4fbe4b1.zip gdb-a5321aa4d5bcbe30b94819727445a506e4fbe4b1.tar.gz gdb-a5321aa4d5bcbe30b94819727445a506e4fbe4b1.tar.bz2 |
* thread.c (inferior_thread) Remove "extern" in definition.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/thread.c | 2 |
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); |