From 1bec0c0b1639568a18702054413b567345eb64b3 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Fri, 29 May 2009 15:10:24 -0700 Subject: [PATCH] Run Nindent on com32/lib/strnlen.c Automatically reformat com32/lib/strnlen.c using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin --- com32/lib/strnlen.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/com32/lib/strnlen.c b/com32/lib/strnlen.c index d073561..c22f8dc 100644 --- a/com32/lib/strnlen.c +++ b/com32/lib/strnlen.c @@ -6,8 +6,8 @@ size_t strnlen(const char *s, size_t n) { - const char *ss = s; - while ( n-- && *ss ) - ss++; - return ss-s; + const char *ss = s; + while (n-- && *ss) + ss++; + return ss - s; } -- 2.7.4