summaryrefslogtreecommitdiffstats
path: root/libc/string/powerpc/memset.c
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-07-31 15:21:24 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-07-31 15:21:24 +0000
commitdd7d7e3f138d1835d153c316f3d771e40dc641ba (patch)
tree7427232d1e9759028490f843152a83a4bbbab7db /libc/string/powerpc/memset.c
parent89ed2cccba266f7738ceb445e4d43103c08cbe75 (diff)
downloaduClibc-alpine-dd7d7e3f138d1835d153c316f3d771e40dc641ba.tar.bz2
uClibc-alpine-dd7d7e3f138d1835d153c316f3d771e40dc641ba.tar.xz
Synch with trunk at rev 22997.
Basically trailing whitespaces removal, fix non standard keywords asm -> __asm__ inline -> __inline__ and some minor changes on trunk. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libc/string/powerpc/memset.c')
-rw-r--r--libc/string/powerpc/memset.c6
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;