aboutsummaryrefslogtreecommitdiff
path: root/gdb/thread.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-10-28 22:15:09 +0000
committerKevin Buettner <kevinb@redhat.com>2000-10-28 22:15:09 +0000
commitfd118b61e7186b102bbae78c3855bea1c8943103 (patch)
tree838965f4c5e8276535fd60557b1e049436081224 /gdb/thread.c
parent1006ba1936c68c64f91fcf904a8b22d3133feb82 (diff)
downloadgdb-fd118b61e7186b102bbae78c3855bea1c8943103.zip
gdb-fd118b61e7186b102bbae78c3855bea1c8943103.tar.gz
gdb-fd118b61e7186b102bbae78c3855bea1c8943103.tar.bz2
Protoization.
Diffstat (limited to 'gdb/thread.c')
-rw-r--r--gdb/thread.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/thread.c b/gdb/thread.c
index 9ae251e..94f0b3f 100644
--- a/gdb/thread.c
+++ b/gdb/thread.c
@@ -191,9 +191,8 @@ find_thread_pid (int pid)
*/
struct thread_info *
-iterate_over_threads (callback, data)
- int (*callback) ();
- void *data;
+iterate_over_threads (int (*callback) (struct thread_info *, void *),
+ void *data)
{
struct thread_info *tp;