From 33d1a2c5b8fe391db7d99821ef09c55ab45bf5a4 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 23 May 1999 10:13:49 +0000 Subject: Update. 1999-05-23 Ulrich Drepper * sysdeps/alpha/fpu/bits/fenv.h: Pretty print. * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if. 1999-05-22 Andreas Schwab * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member names to protect from user's macro namespace. * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise. * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise. * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise. * sysdeps/mips/bits/fenv.h (fenv_t): Likewise. * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c: Adapted. * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c, sysdeps/arm/fpu/fesetenv.c: Likewise. * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c, sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c, sysdeps/i386/fpu/fsetexcptflg.c: Likewise. * sysdeps/mips/fesetenv.c: Likewise. --- sysdeps/mips/bits/fenv.h | 4 ++-- sysdeps/mips/fesetenv.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sysdeps/mips') diff --git a/sysdeps/mips/bits/fenv.h b/sysdeps/mips/bits/fenv.h index 0637bf7623..efa90b6dbd 100644 --- a/sysdeps/mips/bits/fenv.h +++ b/sysdeps/mips/bits/fenv.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1998 Free Software Foundation, Inc. +/* Copyright (C) 1998, 1999 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 @@ -64,7 +64,7 @@ typedef unsigned short int fexcept_t; to the layout of the block written by the `fstenv'. */ typedef struct { - unsigned int fp_control_register; + unsigned int __fp_control_register; } fenv_t; diff --git a/sysdeps/mips/fesetenv.c b/sysdeps/mips/fesetenv.c index 58df06391e..116fbaefce 100644 --- a/sysdeps/mips/fesetenv.c +++ b/sysdeps/mips/fesetenv.c @@ -1,5 +1,5 @@ /* Install given floating-point environment. - Copyright (C) 1998 Free Software Foundation, Inc. + Copyright (C) 1998, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Andreas Jaeger , 1998. @@ -27,5 +27,5 @@ fesetenv (const fenv_t *envp) if (envp == FE_DFL_ENV) _FPU_SETCW (_FPU_DEFAULT); else - _FPU_SETCW (envp->fp_control_register); + _FPU_SETCW (envp->__fp_control_register); } -- cgit v1.2.1