From 44766a20ca8661bf9c5638b5609a8eb92fb2b6d1 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Wed, 24 Jul 2002 09:41:52 +0000 Subject: [PATCH] Compile fixes for Red Hat Limbo (7.3.92). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@522 --- coregrind/arch/x86-linux/vg_libpthread.c | 6 +++--- coregrind/vg_libpthread.c | 6 +++--- vg_libpthread.c | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/coregrind/arch/x86-linux/vg_libpthread.c b/coregrind/arch/x86-linux/vg_libpthread.c index 2ccf8069e3..60c4dc95ff 100644 --- a/coregrind/arch/x86-linux/vg_libpthread.c +++ b/coregrind/arch/x86-linux/vg_libpthread.c @@ -547,7 +547,7 @@ int pthread_equal(pthread_t thread1, pthread_t thread2) /* Bundle up the args into a malloc'd block and create a new thread consisting of thread_wrapper() applied to said malloc'd block. */ int -pthread_create (pthread_t *__restrict __thread, +pthread_create (pthread_t *__restrict __thredd, __const pthread_attr_t *__restrict __attr, void *(*__start_routine) (void *), void *__restrict __arg) @@ -576,8 +576,8 @@ pthread_create (pthread_t *__restrict __thread, &thread_wrapper, info, 0, 0); my_assert(tid_child != VG_INVALID_THREADID); - if (__thread) - *__thread = tid_child; + if (__thredd) + *__thredd = tid_child; return 0; /* success */ } diff --git a/coregrind/vg_libpthread.c b/coregrind/vg_libpthread.c index 2ccf8069e3..60c4dc95ff 100644 --- a/coregrind/vg_libpthread.c +++ b/coregrind/vg_libpthread.c @@ -547,7 +547,7 @@ int pthread_equal(pthread_t thread1, pthread_t thread2) /* Bundle up the args into a malloc'd block and create a new thread consisting of thread_wrapper() applied to said malloc'd block. */ int -pthread_create (pthread_t *__restrict __thread, +pthread_create (pthread_t *__restrict __thredd, __const pthread_attr_t *__restrict __attr, void *(*__start_routine) (void *), void *__restrict __arg) @@ -576,8 +576,8 @@ pthread_create (pthread_t *__restrict __thread, &thread_wrapper, info, 0, 0); my_assert(tid_child != VG_INVALID_THREADID); - if (__thread) - *__thread = tid_child; + if (__thredd) + *__thredd = tid_child; return 0; /* success */ } diff --git a/vg_libpthread.c b/vg_libpthread.c index 2ccf8069e3..60c4dc95ff 100644 --- a/vg_libpthread.c +++ b/vg_libpthread.c @@ -547,7 +547,7 @@ int pthread_equal(pthread_t thread1, pthread_t thread2) /* Bundle up the args into a malloc'd block and create a new thread consisting of thread_wrapper() applied to said malloc'd block. */ int -pthread_create (pthread_t *__restrict __thread, +pthread_create (pthread_t *__restrict __thredd, __const pthread_attr_t *__restrict __attr, void *(*__start_routine) (void *), void *__restrict __arg) @@ -576,8 +576,8 @@ pthread_create (pthread_t *__restrict __thread, &thread_wrapper, info, 0, 0); my_assert(tid_child != VG_INVALID_THREADID); - if (__thread) - *__thread = tid_child; + if (__thredd) + *__thredd = tid_child; return 0; /* success */ } -- 2.47.2