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

Unified Diff: fusl/src/termios/cfgetospeed.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/cfgetospeed.c
diff --git a/fusl/src/termios/cfgetospeed.c b/fusl/src/termios/cfgetospeed.c
index 0ebc198c1c500ab532f1bda94891e4859949b706..b52eceb0b7c3a1eeb0a4b9e3196dac0e06c228df 100644
--- a/fusl/src/termios/cfgetospeed.c
+++ b/fusl/src/termios/cfgetospeed.c
@@ -1,12 +1,10 @@
#include <termios.h>
#include <sys/ioctl.h>
-speed_t cfgetospeed(const struct termios *tio)
-{
- return tio->c_cflag & CBAUD;
+speed_t cfgetospeed(const struct termios* tio) {
+ return tio->c_cflag & CBAUD;
}
-speed_t cfgetispeed(const struct termios *tio)
-{
- return cfgetospeed(tio);
+speed_t cfgetispeed(const struct termios* tio) {
+ return cfgetospeed(tio);
}

Powered by Google App Engine
This is Rietveld 408576698