From 5dfe919c9fb31bdabc5352ee0b91863b30cbfad1 Mon Sep 17 00:00:00 2001 From: Chris Metcalf Date: Tue, 31 Jan 2012 11:46:09 -0500 Subject: [PATCH] tile: use const instead of __const. --- ChangeLog.tile | 5 +++++ sysdeps/tile/bits/fenv.h | 2 +- sysdeps/unix/sysv/linux/tile/sys/cachectl.h | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog.tile b/ChangeLog.tile index 09495c43c9..095b4fe8b3 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 56fe6fd911..0e12c04034 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 72d9e21381..308aefbbe5 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