From ab4340a815b484f6d462e7c40639f2f9856b83c8 Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Mon, 9 Feb 2009 20:27:56 +0000 Subject: [PATCH] 2009-02-09 Arthur Loiret [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 | 9 +++++++++ .../unix/sysv/linux/hppa/linuxthreads/malloc-machine.h | 6 +++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog.hppa b/ChangeLog.hppa index 3d570dba997..0fac875eea0 100644 --- a/ChangeLog.hppa +++ b/ChangeLog.hppa @@ -1,3 +1,12 @@ +2009-02-09 Arthur Loiret + + [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 * sysdeps/unix/sysv/linux/hppa/ucontext_i.sym: New file. diff --git a/sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h b/sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h index 817cf592222..5dc6e6fa716 100644 --- a/sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h +++ b/sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h @@ -63,10 +63,10 @@ extern void *__dso_handle __attribute__ ((__weak__)); #include 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 -- 2.47.2