From: H. Peter Anvin Date: Fri, 29 May 2009 22:10:25 +0000 (-0700) Subject: Run Nindent on com32/lib/sys/isatty.c X-Git-Tag: syslinux-3.83-pre2~247 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f8cc62904ce91de0bc2e76ec306c0178760461a6;p=profile%2Fivi%2Fsyslinux.git Run Nindent on com32/lib/sys/isatty.c Automatically reformat com32/lib/sys/isatty.c using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin --- diff --git a/com32/lib/sys/isatty.c b/com32/lib/sys/isatty.c index 22d73d3..d80214a 100644 --- a/com32/lib/sys/isatty.c +++ b/com32/lib/sys/isatty.c @@ -41,13 +41,13 @@ int isatty(int fd) { - struct file_info *fp = &__file_info[fd]; + struct file_info *fp = &__file_info[fd]; - if ( fd >= NFILES || !fp->iop ) { - errno = EBADF; - return -1; - } + if (fd >= NFILES || !fp->iop) { + errno = EBADF; + return -1; + } - /* __DEV_TTY == 1 */ - return (fp->iop->flags & __DEV_TTY); + /* __DEV_TTY == 1 */ + return (fp->iop->flags & __DEV_TTY); }