boehm-gc: revert all CACAO-specific modifications; this is now an exact copy of the...
[cacao.git] / src / mm / boehm-gc / libatomic_ops-1.2 / src / atomic_ops / sysdeps / char_atomic_load_store.h
index 6eb097836fba761be91438e9f46978568e91b8bd..caac9276283648bc380d93d6d591cdad079eee27 100644 (file)
  */ 
 
 /*
- * Definitions for architecturs on which loads and stores of unsigned char are
+ * Definitions for architectures on which loads and stores of unsigned char are
  * atomic for all legal alignments.
  */
 
 AO_INLINE unsigned char
-AO_char_load(volatile unsigned char *addr)
+AO_char_load(const volatile unsigned char *addr)
 {
   /* Cast away the volatile for architectures like IA64 where  */
   /* volatile adds barrier semantics.                          */
-  return (*(unsigned char *)addr);
+  return (*(const unsigned char *)addr);
 }
 
 #define AO_HAVE_char_load