diff --git a/ChangeLog b/ChangeLog index ac593a138b..27ac338d0b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-11-22 Andreas Jaeger + + * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Add brace to + avoid warning. + 2001-11-21 Andreas Jaeger * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: New file. diff --git a/sysdeps/ieee754/ldbl-96/s_ilogbl.c b/sysdeps/ieee754/ldbl-96/s_ilogbl.c index 6b781011c7..d11e4c2f21 100644 --- a/sysdeps/ieee754/ldbl-96/s_ilogbl.c +++ b/sysdeps/ieee754/ldbl-96/s_ilogbl.c @@ -56,7 +56,7 @@ static char rcsid[] = "$NetBSD: $"; else if (FP_ILOGBNAN != INT_MAX) { GET_LDOUBLE_WORDS(es,hx,lx,x); - if ((hx & 0x7fffffff|lx) == 0) + if (((hx & 0x7fffffff)|lx) == 0) /* ISO C99 requires ilogbl(+-Inf) == INT_MAX. */ return INT_MAX; } diff --git a/sysdeps/unix/sysv/linux/x86_64/Makefile b/sysdeps/unix/sysv/linux/x86_64/Makefile index 6564eb0bc5..0aacd00224 100644 --- a/sysdeps/unix/sysv/linux/x86_64/Makefile +++ b/sysdeps/unix/sysv/linux/x86_64/Makefile @@ -1,4 +1,4 @@ ifeq ($(subdir),misc) sysdep_routines += ioperm iopl -sysdep_headers += sys/perm.h sys/reg.h +sysdep_headers += sys/perm.h sys/reg.h sys/debugreg.h endif