summaryrefslogtreecommitdiff
path: root/libc/string/cris
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/cris')
-rw-r--r--libc/string/cris/memcpy.c2
-rw-r--r--libc/string/cris/memset.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/string/cris/memcpy.c b/libc/string/cris/memcpy.c
index a85108109..a00688ab0 100644
--- a/libc/string/cris/memcpy.c
+++ b/libc/string/cris/memcpy.c
@@ -130,7 +130,7 @@ void *memcpy(void *pdst,
here (beware: they may be moved to temporary registers).
This way, we do not have to save/move the registers around into
temporaries; we can safely use them straight away. */
- __asm__ volatile ("\
+ __asm__ __volatile__ ("\
.syntax no_register_prefix \n\
\n\
;; Check that the register asm declaration got right. \n\
diff --git a/libc/string/cris/memset.c b/libc/string/cris/memset.c
index 7e71bc50f..2d1602c5d 100644
--- a/libc/string/cris/memset.c
+++ b/libc/string/cris/memset.c
@@ -124,7 +124,7 @@ void *memset(void *pdst,
here (beware: they may be moved to temporary registers).
This way, we do not have to save/move the registers around into
temporaries; we can safely use them straight away. */
- __asm__ volatile (" \n\
+ __asm__ __volatile__ (" \n\
.syntax no_register_prefix \n\
\n\
;; Check that the register asm declaration got right. \n\