From 1f020b178664857b0e107778d04fb971a58e6230 Mon Sep 17 00:00:00 2001
From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Date: Wed, 23 Jul 2008 11:23:36 +0000
Subject: - trim any trailing whitespace

---
 libc/string/__xpg_strerror_r.c | 2 +-
 libc/string/cris/memcopy.h     | 2 +-
 libc/string/cris/memcpy.c      | 8 ++++----
 libc/string/cris/memmove.c     | 2 +-
 libc/string/cris/memset.c      | 8 ++++----
 libc/string/ffs.c              | 2 +-
 libc/string/i386/strncat.c     | 2 +-
 libc/string/ia64/softpipe.h    | 2 +-
 libc/string/memrchr.c          | 2 +-
 libc/string/powerpc/memcpy.c   | 2 +-
 libc/string/powerpc/memmove.c  | 2 +-
 libc/string/powerpc/memset.c   | 4 ++--
 libc/string/strcmp.c           | 2 +-
 libc/string/strncpy.c          | 2 +-
 14 files changed, 21 insertions(+), 21 deletions(-)

(limited to 'libc/string')

diff --git a/libc/string/__xpg_strerror_r.c b/libc/string/__xpg_strerror_r.c
index 001115261..ff41192e5 100644
--- a/libc/string/__xpg_strerror_r.c
+++ b/libc/string/__xpg_strerror_r.c
@@ -149,7 +149,7 @@ static const unsigned char estridx[] = {
 	EISNAM,
 	EREMOTEIO,
 #if EDQUOT > 200			/* mips has an outrageous value for this... */
-	0,							
+	0,
 #else
 	EDQUOT,
 #endif
diff --git a/libc/string/cris/memcopy.h b/libc/string/cris/memcopy.h
index 0eae998da..449c75641 100644
--- a/libc/string/cris/memcopy.h
+++ b/libc/string/cris/memcopy.h
@@ -23,7 +23,7 @@
 
 /* We override the word-copying macros, partly because misalignment in one
    pointer isn't cause for a special function, partly because we want to
-   get rid of all the static functions in generic/memcopy.c; these macros 
+   get rid of all the static functions in generic/memcopy.c; these macros
    are only used in memmove.c since we have arch-specific mempcpy, memcpy and
    memset.  */
 
diff --git a/libc/string/cris/memcpy.c b/libc/string/cris/memcpy.c
index 0cce37a30..cc14188b8 100644
--- a/libc/string/cris/memcpy.c
+++ b/libc/string/cris/memcpy.c
@@ -88,8 +88,8 @@ void *memcpy(void *pdst,
   register char *dst __asm__ ("r13") = pdst;
   register char *src __asm__ ("r11") = (char *) psrc;
   register int n __asm__ ("r12") = pn;
-  
- 
+
+
   /* When src is aligned but not dst, this makes a few extra needless
      cycles.  I believe it would take as many to check that the
      re-alignment was unnecessary.  */
@@ -162,12 +162,12 @@ void *memcpy(void *pdst,
 	;; Restore registers from stack					\n\
         movem [sp+],r10"
 
-     /* Outputs */ : "=r" (dst), "=r" (src), "=r" (n) 
+     /* Outputs */ : "=r" (dst), "=r" (src), "=r" (n)
      /* Inputs */ : "0" (dst), "1" (src), "2" (n));
   }
 
   /* Either we directly starts copying, using dword copying
-     in a loop, or we copy as much as possible with 'movem' 
+     in a loop, or we copy as much as possible with 'movem'
      and then the last block (<44 bytes) is copied here.
      This will work since 'movem' will have updated src,dst,n. */
 
diff --git a/libc/string/cris/memmove.c b/libc/string/cris/memmove.c
index b6620afe0..fa495eba4 100644
--- a/libc/string/cris/memmove.c
+++ b/libc/string/cris/memmove.c
@@ -1,4 +1,4 @@
-/* Taken from generic/memmove.c; trivially modified to work with 
+/* Taken from generic/memmove.c; trivially modified to work with
    arch-specific memcopy.h for Cris.
 
    Copy memory to memory until the specified number of bytes
diff --git a/libc/string/cris/memset.c b/libc/string/cris/memset.c
index 9cc959a33..b578aac5d 100644
--- a/libc/string/cris/memset.c
+++ b/libc/string/cris/memset.c
@@ -87,7 +87,7 @@ void *memset(void *pdst,
 
   {
     register char *dst __asm__ ("r13") = pdst;
- 
+
   if (((unsigned long) pdst & 3) != 0
      /* Oops! n=0 must be a legal call, regardless of alignment. */
       && n >= 3)
@@ -165,15 +165,15 @@ void *memset(void *pdst,
         addq   12*4,r12  ;; compensate for last loop underflowing n		\n\
 										\n\
 	;; Restore registers from stack						\n\
-        movem [sp+],r10" 
+        movem [sp+],r10"
 
      /* Outputs */ : "=r" (dst), "=r" (n)
      /* Inputs */ : "0" (dst), "1" (n), "r" (lc));
-    
+
   }
 
     /* Either we directly starts copying, using dword copying
-       in a loop, or we copy as much as possible with 'movem' 
+       in a loop, or we copy as much as possible with 'movem'
        and then the last block (<44 bytes) is copied here.
        This will work since 'movem' will have updated src,dst,n. */
 
diff --git a/libc/string/ffs.c b/libc/string/ffs.c
index f7d94ebf0..241b7456f 100644
--- a/libc/string/ffs.c
+++ b/libc/string/ffs.c
@@ -48,7 +48,7 @@ int ffs(int i)
 	for (n = 0 ; i ; ++n) {
 		i >>= 1;
 	}
-	
+
 	return n;
 #endif
 }
diff --git a/libc/string/i386/strncat.c b/libc/string/i386/strncat.c
index 5849db3b3..3872679d5 100644
--- a/libc/string/i386/strncat.c
+++ b/libc/string/i386/strncat.c
@@ -33,7 +33,7 @@
 #include <string.h>
 
 /* Experimentally off - libc_hidden_proto(strncat) */
-char *strncat(char * dest, 
+char *strncat(char * dest,
 	const char * src, size_t count)
 {
     int d0, d1, d2, d3;
diff --git a/libc/string/ia64/softpipe.h b/libc/string/ia64/softpipe.h
index cf0eb5355..d71af735e 100644
--- a/libc/string/ia64/softpipe.h
+++ b/libc/string/ia64/softpipe.h
@@ -18,7 +18,7 @@
 
 /* The latency of a memory load assumed by the assembly implementation
    of the mem and str functions.  Since we don't have any clue about
-   where the data might be, let's assume it's in the L2 cache.  
+   where the data might be, let's assume it's in the L2 cache.
    Assuming L3 would be too pessimistic :-)
 
    Some functions define MEMLAT as 2, because they expect their data
diff --git a/libc/string/memrchr.c b/libc/string/memrchr.c
index b2f9001cd..48ec50a4e 100644
--- a/libc/string/memrchr.c
+++ b/libc/string/memrchr.c
@@ -20,7 +20,7 @@ void *memrchr(const void *s, int c, size_t n)
 #else
 #define np n
 #endif
-	
+
 	r = ((unsigned char *)s) + ((size_t) np);
 
 	while (np) {
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;
diff --git a/libc/string/strcmp.c b/libc/string/strcmp.c
index 4a95ab882..5477adf3a 100644
--- a/libc/string/strcmp.c
+++ b/libc/string/strcmp.c
@@ -33,7 +33,7 @@ int Wstrcmp(register const Wchar *s1, register const Wchar *s2)
 
 	while (((r = ((int)(*((Wuchar *)s1))) - *((Wuchar *)s2++))
 			== 0) && *s1++);
-	
+
 	return r;
 #endif
 }
diff --git a/libc/string/strncpy.c b/libc/string/strncpy.c
index ea5e494c7..d93561294 100644
--- a/libc/string/strncpy.c
+++ b/libc/string/strncpy.c
@@ -31,7 +31,7 @@ Wchar *Wstrncpy(Wchar * __restrict s1, register const Wchar * __restrict s2,
 		--n;
 	}
 #endif
-	
+
 	return s1;
 }
 #ifndef WANT_WIDE
-- 
cgit v1.2.3