From ee070300fd71b42816e20d7456cba478868d0463 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Fri, 29 May 2009 15:10:25 -0700 Subject: [PATCH] Run Nindent on com32/lib/sys/fileclose.c 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 --- com32/lib/sys/fileclose.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/com32/lib/sys/fileclose.c b/com32/lib/sys/fileclose.c index bf93320..e005567 100644 --- a/com32/lib/sys/fileclose.c +++ b/com32/lib/sys/fileclose.c @@ -38,15 +38,15 @@ int __file_close(struct file_info *fp) { - com32sys_t regs; + com32sys_t regs; - if ( fp->i.filedes ) { - memset(®s, 0, sizeof regs); - regs.eax.w[0] = 0x0008; /* Close file */ - regs.esi.w[0] = fp->i.filedes; + if (fp->i.filedes) { + memset(®s, 0, sizeof regs); + regs.eax.w[0] = 0x0008; /* Close file */ + regs.esi.w[0] = fp->i.filedes; - __com32.cs_intcall(0x22, ®s, NULL); - } + __com32.cs_intcall(0x22, ®s, NULL); + } - return 0; + return 0; } -- 2.7.4