From: H. Peter Anvin Date: Fri, 29 May 2009 22:10:24 +0000 (-0700) Subject: Run Nindent on com32/lib/sprintf.c X-Git-Tag: syslinux-3.83-pre2~294 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=07e54d090f1e18a774b2bdf1bcd1a17fb228dbda;p=platform%2Fupstream%2Fsyslinux.git Run Nindent on com32/lib/sprintf.c Automatically reformat com32/lib/sprintf.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/sprintf.c b/com32/lib/sprintf.c index 31f28af..3c32841 100644 --- a/com32/lib/sprintf.c +++ b/com32/lib/sprintf.c @@ -7,12 +7,12 @@ int sprintf(char *buffer, const char *format, ...) { - va_list ap; - int rv; + va_list ap; + int rv; - va_start(ap, format); - rv = vsnprintf(buffer, ~(size_t)0, format, ap); - va_end(ap); + va_start(ap, format); + rv = vsnprintf(buffer, ~(size_t) 0, format, ap); + va_end(ap); - return rv; + return rv; }