This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

tile: use const instead of __const.


This change removes uses of __const from the tile architecture
in the same way Joseph Myers removed it from ARM, MIPS, etc.

---
 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 09495c4..095b4fe 100644
--- a/ChangeLog.tile
+++ b/ChangeLog.tile
@@ -1,5 +1,10 @@
 2012-01-31  Chris Metcalf  <cmetcalf@tilera.com>
 
+	* sysdeps/tile/bits/fenv.h: Use const instead of __const.
+	* sysdeps/unix/sysv/linux/tile/sys/cachectl.h: Likewise.
+
+2012-01-31  Chris Metcalf  <cmetcalf@tilera.com>
+
 	* sysdeps/tile/sysdep.h: Use <feedback.h> not <feedback-asm.h>
 	to reflect change from gcc community giveback.
 
diff --git a/sysdeps/tile/bits/fenv.h b/sysdeps/tile/bits/fenv.h
index 56fe6fd..0e12c04 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 72d9e21..308aefb 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
 
-- 
1.6.5.2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]