Compile fixes for Red Hat Limbo (7.3.92).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@522 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_libpthread.c b/coregrind/vg_libpthread.c
index 2ccf806..60c4dc9 100644
--- a/coregrind/vg_libpthread.c
+++ b/coregrind/vg_libpthread.c
@@ -547,7 +547,7 @@
 /* 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 @@
                            &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 */
 }