From: Andreas Schwab Date: Sun, 8 Jan 2012 13:21:01 +0000 (+0100) Subject: m68k: use const instead of __const X-Git-Tag: glibc-2.16-ports-before-merge~308 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ae9df5c8a091933d78ba148362053b5bd80206ca;p=thirdparty%2Fglibc.git m68k: use const instead of __const --- diff --git a/ChangeLog.m68k b/ChangeLog.m68k index 459f9bc1e5d..a668b4e81de 100644 --- a/ChangeLog.m68k +++ b/ChangeLog.m68k @@ -1,5 +1,8 @@ 2012-01-08 Andreas Schwab + * 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 7c0bcb66977..885728434e4 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