From: H. Peter Anvin Date: Fri, 29 May 2009 22:10:24 +0000 (-0700) Subject: Run Nindent on com32/lib/strnlen.c X-Git-Tag: syslinux-3.83-pre2~274 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1bec0c0b1639568a18702054413b567345eb64b3;p=platform%2Fupstream%2Fsyslinux.git 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 --- 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; }