From: Chris Metcalf Date: Tue, 31 Jan 2012 16:46:09 +0000 (-0500) Subject: tile: use const instead of __const. X-Git-Tag: glibc-2.16-ports-before-merge~297 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5dfe919c9fb31bdabc5352ee0b91863b30cbfad1;p=thirdparty%2Fglibc.git tile: use const instead of __const. --- diff --git a/ChangeLog.tile b/ChangeLog.tile index 09495c43c9c..095b4fe8b3d 100644 --- a/ChangeLog.tile +++ b/ChangeLog.tile @@ -1,3 +1,8 @@ +2012-01-31 Chris Metcalf + + * sysdeps/tile/bits/fenv.h: Use const instead of __const. + * sysdeps/unix/sysv/linux/tile/sys/cachectl.h: Likewise. + 2012-01-31 Chris Metcalf * sysdeps/tile/sysdep.h: Use not diff --git a/sysdeps/tile/bits/fenv.h b/sysdeps/tile/bits/fenv.h index 56fe6fd9110..0e12c040347 100644 --- a/sysdeps/tile/bits/fenv.h +++ b/sysdeps/tile/bits/fenv.h @@ -40,4 +40,4 @@ typedef unsigned int fexcept_t; typedef unsigned int fenv_t; /* If the default argument is used we use this value. */ -#define FE_DFL_ENV ((__const fenv_t *) -1l) +#define FE_DFL_ENV ((const fenv_t *) -1l) diff --git a/sysdeps/unix/sysv/linux/tile/sys/cachectl.h b/sysdeps/unix/sysv/linux/tile/sys/cachectl.h index 72d9e21381b..308aefbbe51 100644 --- a/sysdeps/unix/sysv/linux/tile/sys/cachectl.h +++ b/sysdeps/unix/sysv/linux/tile/sys/cachectl.h @@ -28,9 +28,9 @@ __BEGIN_DECLS #ifdef __USE_MISC -extern int cacheflush (void *__addr, __const int __nbytes, __const int __op) __THROW; +extern int cacheflush (void *__addr, const int __nbytes, const int __op) __THROW; #endif -extern int _flush_cache (char *__addr, __const int __nbytes, __const int __op) __THROW; +extern int _flush_cache (char *__addr, const int __nbytes, const int __op) __THROW; __END_DECLS