Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(393)

Unified Diff: fusl/src/unistd/isatty.c

Issue 1714623002: [fusl] clang-format fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: headers too Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: fusl/src/unistd/isatty.c
diff --git a/fusl/src/unistd/isatty.c b/fusl/src/unistd/isatty.c
index c8badaf55edd7d6c4e692e5d238e093848cc7290..6d73c173e25f1c4956a5cbfa3ad0219074dcd62c 100644
--- a/fusl/src/unistd/isatty.c
+++ b/fusl/src/unistd/isatty.c
@@ -2,8 +2,7 @@
#include <sys/ioctl.h>
#include "syscall.h"
-int isatty(int fd)
-{
- struct winsize wsz;
- return !__syscall(SYS_ioctl, fd, TIOCGWINSZ, &wsz);
+int isatty(int fd) {
+ struct winsize wsz;
+ return !__syscall(SYS_ioctl, fd, TIOCGWINSZ, &wsz);
}

Powered by Google App Engine
This is Rietveld 408576698