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

Unified Diff: fusl/src/termios/tcgetsid.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/termios/tcgetsid.c
diff --git a/fusl/src/termios/tcgetsid.c b/fusl/src/termios/tcgetsid.c
index 1053fd64724790adce5644375a7a1cec6e97df96..e558f32453b6418c9a79309612a2b3374d2babde 100644
--- a/fusl/src/termios/tcgetsid.c
+++ b/fusl/src/termios/tcgetsid.c
@@ -1,10 +1,9 @@
#include <termios.h>
#include <sys/ioctl.h>
-pid_t tcgetsid(int fd)
-{
- int sid;
- if (ioctl(fd, TIOCGSID, &sid) < 0)
- return -1;
- return sid;
+pid_t tcgetsid(int fd) {
+ int sid;
+ if (ioctl(fd, TIOCGSID, &sid) < 0)
+ return -1;
+ return sid;
}

Powered by Google App Engine
This is Rietveld 408576698