]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Compile fixes for Red Hat Limbo (7.3.92).
authorJulian Seward <jseward@acm.org>
Wed, 24 Jul 2002 09:41:52 +0000 (09:41 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 24 Jul 2002 09:41:52 +0000 (09:41 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@522

coregrind/arch/x86-linux/vg_libpthread.c
coregrind/vg_libpthread.c
vg_libpthread.c

index 2ccf8069e37ae472edc06e75b2d199b2e7065d13..60c4dc95ff78a1236692c2f768c092fbf3b3aa11 100644 (file)
@@ -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 */
 }
 
index 2ccf8069e37ae472edc06e75b2d199b2e7065d13..60c4dc95ff78a1236692c2f768c092fbf3b3aa11 100644 (file)
@@ -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 */
 }
 
index 2ccf8069e37ae472edc06e75b2d199b2e7065d13..60c4dc95ff78a1236692c2f768c092fbf3b3aa11 100644 (file)
@@ -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 */
 }