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 <hpa@zytor.com>
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