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

index 3f10916..5c1a944 100644 (file)
@@ -7,10 +7,10 @@
 #include <stdio.h>
 #include "sys/file.h"
 
-long ftell(FILE *stream)
+long ftell(FILE * stream)
 {
-  int fd = fileno(stream);
-  struct file_info *fp = &__file_info[fd];
+    int fd = fileno(stream);
+    struct file_info *fp = &__file_info[fd];
 
-  return fp->i.offset;
+    return fp->i.offset;
 }