This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] alpha nptl fix


The following appears to be needed after the recent changes to
this file.


r~


2006-01-09  Richard Henderson  <rth@redhat.com>

	* sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_mutex_t):
	Name __data structure; use this for __next and __prev.

Index: nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
===================================================================
RCS file: /cvs/glibc/libc/nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h,v
retrieving revision 1.10
diff -u -p -d -r1.10 pthreadtypes.h
--- nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h	27 Dec 2005 15:08:35 -0000	1.10
+++ nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h	9 Jan 2006 23:06:00 -0000
@@ -47,7 +47,7 @@ typedef union
    type is deliberately not exposed.  */
 typedef union __pthread_mutex_u
 {
-  struct
+  struct __pthread_mutex_s
   {
     int __lock;
     unsigned int __count;
@@ -57,8 +57,8 @@ typedef union __pthread_mutex_u
        binary compatibility.  */
     int __kind;
     int __spins;
-    union __pthread_mutex_u *__next;
-    union __pthread_mutex_u *__prev;
+    struct __pthread_mutex_s *__next;
+    struct __pthread_mutex_s *__prev;
 #define __PTHREAD_MUTEX_HAVE_PREV	1
   } __data;
   char __size[__SIZEOF_PTHREAD_MUTEX_T];


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]