Fix types of FE_DFL_ENV and FE_NOMASK_ENV (bug 14805).
This commit is contained in:
parent
99252c8c62
commit
acfa885ff1
|
@ -1,5 +1,9 @@
|
|||
2012-11-05 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
[BZ #14805]
|
||||
* sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
|
||||
fenv_t *.
|
||||
|
||||
[BZ #14801]
|
||||
* sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
|
||||
namespace for names of struct fields.
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
2012-11-05 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
[BZ #14805]
|
||||
* sysdeps/arm/bits/fenv.h (FE_DFL_ENV): Use cast to const fenv_t *.
|
||||
|
||||
2012-11-03 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sysdeps/arm/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
2012-11-05 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
[BZ #14805]
|
||||
* sysdeps/hppa/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
|
||||
fenv_t *.
|
||||
(FE_NOMASK_ENV): Likewise.
|
||||
|
||||
2012-11-03 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sysdeps/hppa/fpu/fclrexcpt.c (feclearexcept): Add
|
||||
|
|
|
@ -74,7 +74,7 @@ typedef struct
|
|||
fenv_t;
|
||||
|
||||
/* If the default argument is used we use this value. */
|
||||
#define FE_DFL_ENV ((fenv_t *) -1l)
|
||||
#define FE_DFL_ENV ((const fenv_t *) -1l)
|
||||
|
||||
#ifdef __USE_GNU
|
||||
/* Floating-point environment where none of the exceptions are masked. */
|
||||
|
|
|
@ -83,9 +83,9 @@ typedef struct
|
|||
} fenv_t;
|
||||
|
||||
/* If the default argument is used we use this value. */
|
||||
#define FE_DFL_ENV ((fenv_t *) -1)
|
||||
#define FE_DFL_ENV ((const fenv_t *) -1)
|
||||
|
||||
#ifdef __USE_GNU
|
||||
/* Floating-point environment where none of the exceptions are masked. */
|
||||
# define FE_NOMASK_ENV ((fenv_t *) -2)
|
||||
# define FE_NOMASK_ENV ((const fenv_t *) -2)
|
||||
#endif
|
||||
|
|
|
@ -73,4 +73,4 @@ typedef struct
|
|||
fenv_t;
|
||||
|
||||
/* If the default argument is used we use this value. */
|
||||
#define FE_DFL_ENV ((fenv_t *) -1)
|
||||
#define FE_DFL_ENV ((const fenv_t *) -1)
|
||||
|
|
Loading…
Reference in New Issue