From d5ed0118caf96e8b0d9d17e8434efafb8a183629 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 5 Dec 2002 05:15:35 +0000 Subject: * 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. --- nptl/forward.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nptl/forward.c') diff --git a/nptl/forward.c b/nptl/forward.c index 29f291d555..491e0caed8 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), -- cgit v1.2.3