2009-02-09 Arthur Loiret <aloiret@debian.org>
authorCarlos O'Donell <carlos@systemhalted.org>
Mon, 9 Feb 2009 20:27:56 +0000 (20:27 +0000)
committerCarlos O'Donell <carlos@systemhalted.org>
Mon, 9 Feb 2009 20:27:56 +0000 (20:27 +0000)
[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.

ChangeLog.hppa
sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h

index 3d570db..0fac875 100644 (file)
@@ -1,3 +1,12 @@
+2009-02-09  Arthur Loiret  <aloiret@debian.org>
+
+       [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@gmx.de>
 
        * sysdeps/unix/sysv/linux/hppa/ucontext_i.sym: New file.
index 817cf59..5dc6e6f 100644 (file)
@@ -63,10 +63,10 @@ extern void *__dso_handle __attribute__ ((__weak__));
 #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>