1.1 --- a/patches/glibc/linuxthreads-2.2.2/threadparam.patch Wed Aug 15 16:18:35 2007 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,69 +0,0 @@
1.4 -2002-05-21 Ulrich Drepper <drepper@redhat.com>
1.5 -
1.6 - * sysdeps/pthread/pthread.h (pthread_create): Rename first parameter.
1.7 - (pthread_cancel): Likewise.
1.8 - * internals.h (__pthread_create_2_1): Likewise.
1.9 - * sysdeps/unix/sysv/linux/bits/sigthread.h (pthread_kill): Likewise.
1.10 -===================================================================
1.11 -RCS file: /cvs/glibc/libc/linuxthreads/internals.h,v
1.12 -retrieving revision 1.69.2.2
1.13 -retrieving revision 1.69.2.3
1.14 -diff -u -r1.69.2.2 -r1.69.2.3
1.15 ---- libc/linuxthreads/internals.h 2002/03/22 08:30:32 1.69.2.2
1.16 -+++ libc/linuxthreads/internals.h 2002/08/20 22:01:25 1.69.2.3
1.17 -@@ -554,7 +554,7 @@
1.18 - /* Prototypes for compatibility functions. */
1.19 - extern int __pthread_attr_init_2_1 (pthread_attr_t *__attr);
1.20 - extern int __pthread_attr_init_2_0 (pthread_attr_t *__attr);
1.21 --extern int __pthread_create_2_1 (pthread_t *__restrict __thread,
1.22 -+extern int __pthread_create_2_1 (pthread_t *__restrict __threadp,
1.23 - const pthread_attr_t *__attr,
1.24 - void *(*__start_routine) (void *),
1.25 - void *__restrict __arg);
1.26 -===================================================================
1.27 -RCS file: /cvs/glibc/libc/linuxthreads/sysdeps/pthread/pthread.h,v
1.28 -retrieving revision 1.31
1.29 -retrieving revision 1.31.2.1
1.30 -diff -u -r1.31 -r1.31.2.1
1.31 ---- libc/linuxthreads/sysdeps/pthread/pthread.h 2001/03/15 21:12:31 1.31
1.32 -+++ libc/linuxthreads/sysdeps/pthread/pthread.h 2002/08/20 22:01:26 1.31.2.1
1.33 -@@ -160,7 +160,7 @@
1.34 - /* Create a thread with given attributes ATTR (or default attributes
1.35 - if ATTR is NULL), and call function START_ROUTINE with given
1.36 - arguments ARG. */
1.37 --extern int pthread_create (pthread_t *__restrict __thread,
1.38 -+extern int pthread_create (pthread_t *__restrict __threadp,
1.39 - __const pthread_attr_t *__restrict __attr,
1.40 - void *(*__start_routine) (void *),
1.41 - void *__restrict __arg) __THROW;
1.42 -@@ -588,7 +588,7 @@
1.43 - extern int pthread_setcanceltype (int __type, int *__oldtype) __THROW;
1.44 -
1.45 - /* Cancel THREAD immediately or at the next possibility. */
1.46 --extern int pthread_cancel (pthread_t __thread) __THROW;
1.47 -+extern int pthread_cancel (pthread_t __cancelthread) __THROW;
1.48 -
1.49 - /* Test for pending cancellation for the current thread and terminate
1.50 - the thread as per pthread_exit(PTHREAD_CANCELED) if it has been
1.51 -===================================================================
1.52 -RCS file: /cvs/glibc/libc/linuxthreads/sysdeps/unix/sysv/linux/bits/sigthread.h,v
1.53 -retrieving revision 1.5
1.54 -retrieving revision 1.5.2.1
1.55 -diff -u -r1.5 -r1.5.2.1
1.56 ---- libc/linuxthreads/sysdeps/unix/sysv/linux/bits/sigthread.h 2000/08/21 06:48:03 1.5
1.57 -+++ libc/linuxthreads/sysdeps/unix/sysv/linux/bits/sigthread.h 2002/08/20 22:01:26 1.5.2.1
1.58 -@@ -1,5 +1,5 @@
1.59 - /* Signal handling function for threaded programs.
1.60 -- Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
1.61 -+ Copyright (C) 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
1.62 - This file is part of the GNU C Library.
1.63 -
1.64 - The GNU C Library is free software; you can redistribute it and/or
1.65 -@@ -33,6 +33,6 @@
1.66 - __sigset_t *__restrict __oldmask)__THROW;
1.67 -
1.68 - /* Send signal SIGNO to the given thread. */
1.69 --extern int pthread_kill (pthread_t __thread, int __signo) __THROW;
1.70 -+extern int pthread_kill (pthread_t __threadid, int __signo) __THROW;
1.71 -
1.72 - #endif /* bits/sigthread.h */