From 0cc7d185e6fcbda902d29b95ba49eaa32e8df8cf Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Fri, 29 May 2009 15:10:25 -0700 Subject: [PATCH] Run Nindent on com32/lib/sys/vesa/debug.h Automatically reformat com32/lib/sys/vesa/debug.h 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/sys/vesa/debug.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/com32/lib/sys/vesa/debug.h b/com32/lib/sys/vesa/debug.h index 50fed46..86d085f 100644 --- a/com32/lib/sys/vesa/debug.h +++ b/com32/lib/sys/vesa/debug.h @@ -10,25 +10,25 @@ ssize_t __serial_write(void *fp, const void *buf, size_t count); static void debug(const char *str, ...) { - va_list va; - char buf[65536]; - size_t len; + va_list va; + char buf[65536]; + size_t len; - va_start(va, str); - len = vsnprintf(buf, sizeof buf, str, va); - va_end(va); + va_start(va, str); + len = vsnprintf(buf, sizeof buf, str, va); + va_end(va); - if (len >= sizeof buf) - len = sizeof buf - 1; + if (len >= sizeof buf) + len = sizeof buf - 1; - __serial_write(NULL, buf, len); + __serial_write(NULL, buf, len); } #else static inline void debug(const char *str, ...) { - (void)str; + (void)str; } #endif -- 2.7.4