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'.
This commit is contained in:
Roland McGrath 2004-09-11 23:05:10 +00:00
parent 72ae1e97d0
commit 09fb62920e
1 changed files with 1 additions and 1 deletions

View File

@ -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>