aboutsummaryrefslogtreecommitdiff
path: root/nptl/forward.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-12-05 05:15:35 +0000
committerRoland McGrath <roland@gnu.org>2002-12-05 05:15:35 +0000
commitd5ed0118caf96e8b0d9d17e8434efafb8a183629 (patch)
tree8075122699c2101df4b58e2a7486f2ecc26b9bbe /nptl/forward.c
parentac110745dcbef340ea4f5808f96a95bb306df3ae (diff)
downloadglibc-d5ed0118caf96e8b0d9d17e8434efafb8a183629.zip
glibc-d5ed0118caf96e8b0d9d17e8434efafb8a183629.tar.gz
glibc-d5ed0118caf96e8b0d9d17e8434efafb8a183629.tar.bz2
* forward.c (pthread_self): Use FORWARD3 macro to correct return type.
* sysdeps/i386/td_ta_map_lwp2thr.c: Moved from ../nptl_db. * sysdeps/generic/td_ta_map_lwp2thr.c: New file. * pthread_create.c (start_thread): Add missing & on __nptl_last_event.
Diffstat (limited to 'nptl/forward.c')
-rw-r--r--nptl/forward.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/forward.c b/nptl/forward.c
index 29f291d..491e0ca 100644
--- a/nptl/forward.c
+++ b/nptl/forward.c
@@ -139,7 +139,7 @@ FORWARD (pthread_mutex_lock, (pthread_mutex_t *mutex), (mutex), 0);
FORWARD (pthread_mutex_unlock, (pthread_mutex_t *mutex), (mutex), 0);
-FORWARD (pthread_self, (void), (), 0);
+FORWARD3 (pthread_self, pthread_t, (void), (), return 0, GLIBC_2_0);
FORWARD (pthread_setcancelstate, (int state, int *oldstate), (state, oldstate),