Run Nindent on com32/lib/fgetc.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/fgetc.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/fgetc.c

index 5aa6f76..b48e147 100644 (file)
@@ -11,9 +11,9 @@
 #include <stdlib.h>
 #include <errno.h>
 
-int fgetc(FILE *f)
+int fgetc(FILE * f)
 {
-  unsigned char ch;
+    unsigned char ch;
 
-  return (_fread(&ch, 1, f) == 1) ? (int)ch : EOF;
+    return (_fread(&ch, 1, f) == 1) ? (int)ch : EOF;
 }