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

index bf93320..e005567 100644 (file)
 
 int __file_close(struct file_info *fp)
 {
-  com32sys_t regs;
+    com32sys_t regs;
 
-  if ( fp->i.filedes ) {
-    memset(&regs, 0, sizeof regs);
-    regs.eax.w[0] = 0x0008;    /* Close file */
-    regs.esi.w[0] = fp->i.filedes;
+    if (fp->i.filedes) {
+       memset(&regs, 0, sizeof regs);
+       regs.eax.w[0] = 0x0008; /* Close file */
+       regs.esi.w[0] = fp->i.filedes;
 
-    __com32.cs_intcall(0x22, &regs, NULL);
-  }
+       __com32.cs_intcall(0x22, &regs, NULL);
+    }
 
-  return 0;
+    return 0;
 }