diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | bits/fenv.h | 11 | ||||
-rw-r--r-- | sysdeps/generic/bits/fenv.h | 11 |
3 files changed, 11 insertions, 16 deletions
@@ -1,3 +1,8 @@ +2001-04-11 Hans-Peter Nilsson <hp@axis.com> + + * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type + from struct to unsigned int. + 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE, diff --git a/bits/fenv.h b/bits/fenv.h index a389ad7..f1cfb72 100644 --- a/bits/fenv.h +++ b/bits/fenv.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -40,13 +40,8 @@ We define no macro which signals no rounding mode is selectable. */ -/* Type representing exception flags. - XXX Probably we should also include the signal handler here. */ -typedef struct - { - unsigned int __flags; - } -fexcept_t; +/* Type representing exception flags. */ +typedef unsigned int fexcept_t; /* Type representing floating-point environment. */ diff --git a/sysdeps/generic/bits/fenv.h b/sysdeps/generic/bits/fenv.h index a389ad7..f1cfb72 100644 --- a/sysdeps/generic/bits/fenv.h +++ b/sysdeps/generic/bits/fenv.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -40,13 +40,8 @@ We define no macro which signals no rounding mode is selectable. */ -/* Type representing exception flags. - XXX Probably we should also include the signal handler here. */ -typedef struct - { - unsigned int __flags; - } -fexcept_t; +/* Type representing exception flags. */ +typedef unsigned int fexcept_t; /* Type representing floating-point environment. */ |