aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-09-11 23:05:10 +0000
committerRoland McGrath <roland@gnu.org>2004-09-11 23:05:10 +0000
commit09fb62920eeea05700dc4b2e2768f98b3f685069 (patch)
treeb06cdc8db9aa5721c5ac6326c54a371533a2173c
parent72ae1e97d03be3fba0c1a85137e65b9bdc066f27 (diff)
downloadglibc-09fb62920eeea05700dc4b2e2768f98b3f685069.tar
glibc-09fb62920eeea05700dc4b2e2768f98b3f685069.tar.gz
glibc-09fb62920eeea05700dc4b2e2768f98b3f685069.tar.bz2
glibc-09fb62920eeea05700dc4b2e2768f98b3f685069.zip
2004-09-11 Alfred M. Szmidt <ams@kemisten.nu>
* sysdeps/mach/hurd/i386/tls.h (__i386_set_gdt) [!HAVE_I386_SET_GDT]: Cast THR, SEL and DESC to `void'.
-rw-r--r--sysdeps/mach/hurd/i386/tls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/i386/tls.h b/sysdeps/mach/hurd/i386/tls.h
index d04bdb43f2..8adbee98fc 100644
--- a/sysdeps/mach/hurd/i386/tls.h
+++ b/sysdeps/mach/hurd/i386/tls.h
@@ -39,7 +39,7 @@
# include <mach/i386/mach_i386.h>
# ifndef HAVE_I386_SET_GDT
-# define __i386_set_gdt(thr, sel, desc) ((thr), (sel), (desc), MIG_BAD_ID)
+# define __i386_set_gdt(thr, sel, desc) ((void) (thr), (void) (sel), (void) (desc), MIG_BAD_ID)
# endif
# include <errno.h>