m68k: use const instead of __const

This commit is contained in:
Andreas Schwab 2012-01-08 14:21:01 +01:00
parent 30cfd5f601
commit ae9df5c8a0
2 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,8 @@
2012-01-08 Andreas Schwab <schwab@linux-m68k.org>
* sysdeps/m68k/fpu/bits/fenv.h (FE_DFL_ENV, FE_NOMASK_ENV): Use
const intead of __const.
* sysdeps/m68k/asm-syntax.h: Remove non-ELF support.
* sysdeps/m68k/sysdep.h: Likewise.
(NO_UNDERSCORES): Don't define.

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
/* Copyright (C) 1997, 1998, 1999, 2000, 2012 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
@ -71,9 +71,9 @@ typedef struct
fenv_t;
/* If the default argument is used we use this value. */
#define FE_DFL_ENV ((__const 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 ((__const fenv_t *) -2)
# define FE_NOMASK_ENV ((const fenv_t *) -2)
#endif