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

Unified Diff: fusl/src/termios/tcgetattr.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/tcgetattr.c
diff --git a/fusl/src/termios/tcgetattr.c b/fusl/src/termios/tcgetattr.c
index 545a0bf8ad135696e526c22c9bf1f251879292ac..a456acd0118ba2ff069a17aa64e7f001ef9018ea 100644
--- a/fusl/src/termios/tcgetattr.c
+++ b/fusl/src/termios/tcgetattr.c
@@ -1,9 +1,8 @@
#include <termios.h>
#include <sys/ioctl.h>
-int tcgetattr(int fd, struct termios *tio)
-{
- if (ioctl(fd, TCGETS, tio))
- return -1;
- return 0;
+int tcgetattr(int fd, struct termios* tio) {
+ if (ioctl(fd, TCGETS, tio))
+ return -1;
+ return 0;
}

Powered by Google App Engine
This is Rietveld 408576698