From: Joseph Myers Date: Sun, 8 Jan 2012 13:06:46 +0000 (+0000) Subject: Use const instead of __const for ARM. X-Git-Tag: glibc-2.16-ports-before-merge~311 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=57920720f2dceb5ee711409c0fb63229e4ceceb5;p=thirdparty%2Fglibc.git Use const instead of __const for ARM. --- diff --git a/ChangeLog.arm b/ChangeLog.arm index 377439a6659..62531a4493b 100644 --- a/ChangeLog.arm +++ b/ChangeLog.arm @@ -1,3 +1,7 @@ +2012-01-08 Joseph Myers + + * sysdeps/arm/eabi/bits/fenv.h: Use const instead of __const. + 2012-01-08 Joseph Myers * sysdeps/arm/sysdep.h: Don't test or define NO_UNDERSCORES. diff --git a/sysdeps/arm/eabi/bits/fenv.h b/sysdeps/arm/eabi/bits/fenv.h index 816ebe773ec..3bef3980cb1 100644 --- a/sysdeps/arm/eabi/bits/fenv.h +++ b/sysdeps/arm/eabi/bits/fenv.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2004, 2005 Free Software Foundation, Inc. +/* Copyright (C) 2004, 2005, 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 @@ -70,5 +70,5 @@ fenv_t; #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