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>
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;
}