From 57920720f2dceb5ee711409c0fb63229e4ceceb5 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Sun, 8 Jan 2012 13:06:46 +0000 Subject: [PATCH] Use const instead of __const for ARM. --- ChangeLog.arm | 4 ++++ sysdeps/arm/eabi/bits/fenv.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog.arm b/ChangeLog.arm index 377439a665..62531a4493 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 816ebe773e..3bef3980cb 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 -- 2.43.5