From 8e6922b50d46715e591f0ee829dba819d6c82fb8 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 10 Mar 2003 19:20:18 +0000 Subject: 2003-03-10 Roland McGrath * td_ta_thr_iter.c (iterate_thread_list): Don't use `header.data.' prefix for `struct pthread' members. * td_thr_validate.c (check_thread_list): Likewise. * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Likewise. --- nptl_db/td_ta_thr_iter.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nptl_db/td_ta_thr_iter.c b/nptl_db/td_ta_thr_iter.c index 37f32f6dc7..6348a97d14 100644 --- a/nptl_db/td_ta_thr_iter.c +++ b/nptl_db/td_ta_thr_iter.c @@ -50,8 +50,7 @@ iterate_thread_list (const td_thragent_t *ta, td_thr_iter_f *callback, while (list.next != head) { - psaddr_t addr = ((psaddr_t) list.next - - offsetof (struct pthread, list)); + psaddr_t addr = ((psaddr_t) list.next - offsetof (struct pthread, list)); int schedpolicy; if (ps_pdread (ta->ph, &((struct pthread *) addr)->schedpolicy, -- cgit 1.4.1