diff options
Diffstat (limited to 'libc/string/powerpc/memset.c')
-rw-r--r-- | libc/string/powerpc/memset.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/string/powerpc/memset.c b/libc/string/powerpc/memset.c index d62ec0ee0..59bec87b9 100644 --- a/libc/string/powerpc/memset.c +++ b/libc/string/powerpc/memset.c @@ -23,8 +23,8 @@ /* Experimentally off - libc_hidden_proto(memset) */ -static inline int expand_byte_word(int c){ - /* this does: +static __inline__ int expand_byte_word(int c){ + /* 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; |