summaryrefslogtreecommitdiff
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
commit12c29b397f68e33a4a1f0cc83dad10956f9ebcde (patch)
tree161c41a7c5990dc1b6214e0111735dea0285cf38 /gdb/thread.c
parentd8fb7e4fa09e16821e805d5f5af64086b86270bb (diff)
downloadgdb-12c29b397f68e33a4a1f0cc83dad10956f9ebcde.tar.gz
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 9ae251e90c2..94f0b3f3791 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;