Run Nindent on com32/lib/fputc.c
authorH. Peter Anvin <hpa@zytor.com>
Fri, 29 May 2009 22:10:23 +0000 (15:10 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 29 May 2009 22:10:23 +0000 (15:10 -0700)
Automatically reformat com32/lib/fputc.c 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>
com32/lib/fputc.c

index 61aff16..7a1bf0b 100644 (file)
@@ -6,9 +6,9 @@
 
 #include <stdio.h>
 
-int fputc(int c, FILE *f)
+int fputc(int c, FILE * f)
 {
-  unsigned char ch = c;
+    unsigned char ch = c;
 
-  return _fwrite(&ch, 1, f) == 1 ? ch : EOF;
+    return _fwrite(&ch, 1, f) == 1 ? ch : EOF;
 }