diff options
Diffstat (limited to 'libc/string/powerpc')
-rw-r--r-- | libc/string/powerpc/memcpy.c | 2 | ||||
-rw-r--r-- | libc/string/powerpc/memmove.c | 2 | ||||
-rw-r--r-- | libc/string/powerpc/memset.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/libc/string/powerpc/memcpy.c b/libc/string/powerpc/memcpy.c index bcbb806f8..dd39e6f9d 100644 --- a/libc/string/powerpc/memcpy.c +++ b/libc/string/powerpc/memcpy.c @@ -62,7 +62,7 @@ void *memcpy(void *to, const void *from, size_t n) do { *++tmp_to = *++tmp_from; } while (--n); - + return to; align: rem = 4 - rem; diff --git a/libc/string/powerpc/memmove.c b/libc/string/powerpc/memmove.c index 7a4a7e5ff..d307e74a6 100644 --- a/libc/string/powerpc/memmove.c +++ b/libc/string/powerpc/memmove.c @@ -62,7 +62,7 @@ void *memmove(void *to, const void *from, size_t n) do { *--tmp_to = *--tmp_from; } while (--n); - + return to; align: rem = 4 - rem; diff --git a/libc/string/powerpc/memset.c b/libc/string/powerpc/memset.c index 93e025f00..59bec87b9 100644 --- a/libc/string/powerpc/memset.c +++ b/libc/string/powerpc/memset.c @@ -24,7 +24,7 @@ /* Experimentally off - libc_hidden_proto(memset) */ static __inline__ int expand_byte_word(int c){ - /* this does: + /* this does: c = c << 8 | c; c = c << 16 | c ; */ @@ -66,7 +66,7 @@ void *memset(void *to, int c, size_t n) do { *++tmp_to = c; } while (--n); - + return to; align: rem = 4 - rem; |