From 7894fcd21732dd2ddfbb9beca52d037a62ed11f4 Mon Sep 17 00:00:00 2001 From: Frans Kaashoek Date: Thu, 25 Aug 2016 09:13:00 -0400 Subject: =?UTF-8?q?Remove=20trailing=20white=20space=20with:=20=20for=20f?= =?UTF-8?q?=20in=20*.{h,c};=20do=20sed=20-i=20.sed=20's/[[:blank:]]*$//'?= =?UTF-8?q?=20$f;=20done=20(Thanks=20to=20Nicol=C3=A1s=20Wolovick)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- string.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'string.c') diff --git a/string.c b/string.c index d066c18..a7cc61f 100644 --- a/string.c +++ b/string.c @@ -16,7 +16,7 @@ int memcmp(const void *v1, const void *v2, uint n) { const uchar *s1, *s2; - + s1 = v1; s2 = v2; while(n-- > 0){ @@ -69,7 +69,7 @@ char* strncpy(char *s, const char *t, int n) { char *os; - + os = s; while(n-- > 0 && (*s++ = *t++) != 0) ; @@ -83,7 +83,7 @@ char* safestrcpy(char *s, const char *t, int n) { char *os; - + os = s; if(n <= 0) return os; -- cgit v1.2.3