diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2012-01-08 14:21:01 +0100 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2012-01-08 14:23:44 +0100 |
commit | ae9df5c8a091933d78ba148362053b5bd80206ca (patch) | |
tree | 11fc111fdb7ce17cbfd2375cdaedf6f40802c8cf | |
parent | 30cfd5f601428d5ec27ded3d75245d463cc1b8b8 (diff) | |
download | glibc-ae9df5c8a091933d78ba148362053b5bd80206ca.tar glibc-ae9df5c8a091933d78ba148362053b5bd80206ca.tar.gz glibc-ae9df5c8a091933d78ba148362053b5bd80206ca.tar.bz2 glibc-ae9df5c8a091933d78ba148362053b5bd80206ca.zip |
m68k: use const instead of __const
-rw-r--r-- | ChangeLog.m68k | 3 | ||||
-rw-r--r-- | sysdeps/m68k/fpu/bits/fenv.h | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog.m68k b/ChangeLog.m68k index 459f9bc1e5..a668b4e81d 100644 --- a/ChangeLog.m68k +++ b/ChangeLog.m68k @@ -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. diff --git a/sysdeps/m68k/fpu/bits/fenv.h b/sysdeps/m68k/fpu/bits/fenv.h index 7c0bcb6697..885728434e 100644 --- a/sysdeps/m68k/fpu/bits/fenv.h +++ b/sysdeps/m68k/fpu/bits/fenv.h @@ -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 |