[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r7894 - in /fsf/trunk/ports: ChangeLog.hppa sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h



Author: eglibc
Date: Tue Feb 10 00:05:33 2009
New Revision: 7894

Log:
Import glibc-ports-mainline for 2009-02-10

Modified:
    fsf/trunk/ports/ChangeLog.hppa
    fsf/trunk/ports/sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h

Modified: fsf/trunk/ports/ChangeLog.hppa
==============================================================================
--- fsf/trunk/ports/ChangeLog.hppa (original)
+++ fsf/trunk/ports/ChangeLog.hppa Tue Feb 10 00:05:33 2009
@@ -1,3 +1,12 @@
+2009-02-09  Arthur Loiret  <aloiret@xxxxxxxxxx>
+
+	[BZ #9717]
+
+	* sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h
+	(MALLOC): Adjust __libc_tsd_define arguments.
+	(tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get}
+	arguments.
+
 2008-08-07  Helge Deller  <deller@xxxxxx>
 
 	* sysdeps/unix/sysv/linux/hppa/ucontext_i.sym: New file.

Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h Tue Feb 10 00:05:33 2009
@@ -63,10 +63,10 @@
 #include <bits/libc-tsd.h>
 
 typedef int tsd_key_t[1];	/* no key data structure, libc magic does it */
-__libc_tsd_define (static, MALLOC)	/* declaration/common definition */
+__libc_tsd_define (static, void *, MALLOC)	/* declaration/common definition */
 #define tsd_key_create(key, destr)	((void) (key))
-#define tsd_setspecific(key, data)	__libc_tsd_set (MALLOC, (data))
-#define tsd_getspecific(key, vptr)	((vptr) = __libc_tsd_get (MALLOC))
+#define tsd_setspecific(key, data)	__libc_tsd_set (void *, MALLOC, (data))
+#define tsd_getspecific(key, vptr)	((vptr) = __libc_tsd_get (void *, MALLOC))
 
 #include <sysdeps/generic/malloc-machine.h>