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

Unified Diff: fusl/src/unistd/tcgetpgrp.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/tcgetpgrp.c
diff --git a/fusl/src/unistd/tcgetpgrp.c b/fusl/src/unistd/tcgetpgrp.c
index 50080c7e8e791e2b44174c5c166850a00be8af2f..8e89ac922ea2f242c5922982b94f063e62c8c153 100644
--- a/fusl/src/unistd/tcgetpgrp.c
+++ b/fusl/src/unistd/tcgetpgrp.c
@@ -2,10 +2,9 @@
#include <termios.h>
#include <sys/ioctl.h>
-pid_t tcgetpgrp(int fd)
-{
- int pgrp;
- if (ioctl(fd, TIOCGPGRP, &pgrp) < 0)
- return -1;
- return pgrp;
+pid_t tcgetpgrp(int fd) {
+ int pgrp;
+ if (ioctl(fd, TIOCGPGRP, &pgrp) < 0)
+ return -1;
+ return pgrp;
}

Powered by Google App Engine
This is Rietveld 408576698