diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-01-30 18:04:01 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-01-30 18:04:01 +0000 |
commit | 567678b68514f1673f5f856ca1f280addf38cb88 (patch) | |
tree | db0cd87c0c8fdd8117e707b0a58bc9005527fec2 /linuxthreads/sysdeps/alpha | |
parent | 5df8349b84a85dee067380ad4a5c3b90148a6504 (diff) | |
download | glibc-567678b68514f1673f5f856ca1f280addf38cb88.tar glibc-567678b68514f1673f5f856ca1f280addf38cb88.tar.gz glibc-567678b68514f1673f5f856ca1f280addf38cb88.tar.bz2 glibc-567678b68514f1673f5f856ca1f280addf38cb88.zip |
Update.
2003-01-30 Jakub Jelinek <jakub@redhat.com>
* sysdeps/alpha/tls.h (THREAD_GETMEM, THREAD_GETMEM_NC,
THREAD_SETMEM, THREAD_SETMEM_NC): Avoid warnings about unused self
variable.
* sysdeps/ia64/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC,
THREAD_SETMEM, THREAD_SETMEM_NC): Likewise.
* sysdeps/s390/s390-32/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC,
THREAD_SETMEM, THREAD_SETMEM_NC): Likewise.
* sysdeps/s390/s390-64/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC,
THREAD_SETMEM, THREAD_SETMEM_NC): Likewise.
* sysdeps/sh/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC,
THREAD_SETMEM, THREAD_SETMEM_NC): Likewise.
* sysdeps/sparc/sparc32/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC,
THREAD_SETMEM, THREAD_SETMEM_NC): Likewise.
* sysdeps/sparc/sparc64/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC,
THREAD_SETMEM, THREAD_SETMEM_NC): Likewise.
Diffstat (limited to 'linuxthreads/sysdeps/alpha')
-rw-r--r-- | linuxthreads/sysdeps/alpha/tls.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/linuxthreads/sysdeps/alpha/tls.h b/linuxthreads/sysdeps/alpha/tls.h index d93c91fc52..261e67dd0f 100644 --- a/linuxthreads/sysdeps/alpha/tls.h +++ b/linuxthreads/sysdeps/alpha/tls.h @@ -114,10 +114,12 @@ typedef struct the compiler does its job and unifies the multiple __builtin_thread_pointer instances. */ -#define THREAD_GETMEM(descr, member) THREAD_SELF->member -#define THREAD_GETMEM_NC(descr, member) THREAD_SELF->member -#define THREAD_SETMEM(descr, member, value) (THREAD_SELF->member = (value)) -#define THREAD_SETMEM_NC(descr, member, value) (THREAD_SELF->member = (value)) +#define THREAD_GETMEM(descr, member) (sizeof (descr), THREAD_SELF->member) +#define THREAD_GETMEM_NC(descr, member) (sizeof (descr), THREAD_SELF->member) +#define THREAD_SETMEM(descr, member, value) \ + (sizeof (descr), THREAD_SELF->member = (value)) +#define THREAD_SETMEM_NC(descr, member, value) \ + (sizeof (descr), THREAD_SELF->member = (value)) # endif /* HAVE_TLS_SUPPORT */ #endif /* __ASSEMBLER__ */ |