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

Unified Diff: fusl/include/termios.h

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/include/termios.h
diff --git a/fusl/include/termios.h b/fusl/include/termios.h
index d73c780d41a4270f1665658b6c4f7d62b792780a..993101509d10fb9e41dedd7170b6d1a5a52c579b 100644
--- a/fusl/include/termios.h
+++ b/fusl/include/termios.h
@@ -1,5 +1,5 @@
-#ifndef _TERMIOS_H
-#define _TERMIOS_H
+#ifndef _TERMIOS_H
+#define _TERMIOS_H
#ifdef __cplusplus
extern "C" {
@@ -19,24 +19,24 @@ typedef unsigned int tcflag_t;
#include <bits/termios.h>
-speed_t cfgetospeed (const struct termios *);
-speed_t cfgetispeed (const struct termios *);
-int cfsetospeed (struct termios *, speed_t);
-int cfsetispeed (struct termios *, speed_t);
+speed_t cfgetospeed(const struct termios*);
+speed_t cfgetispeed(const struct termios*);
+int cfsetospeed(struct termios*, speed_t);
+int cfsetispeed(struct termios*, speed_t);
-int tcgetattr (int, struct termios *);
-int tcsetattr (int, int, const struct termios *);
+int tcgetattr(int, struct termios*);
+int tcsetattr(int, int, const struct termios*);
-int tcsendbreak (int, int);
-int tcdrain (int);
-int tcflush (int, int);
-int tcflow (int, int);
+int tcsendbreak(int, int);
+int tcdrain(int);
+int tcflush(int, int);
+int tcflow(int, int);
-pid_t tcgetsid (int);
+pid_t tcgetsid(int);
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
-void cfmakeraw(struct termios *);
-int cfsetspeed(struct termios *, speed_t);
+void cfmakeraw(struct termios*);
+int cfsetspeed(struct termios*, speed_t);
#endif
#ifdef __cplusplus
« fusl/arch/aarch64/atomic_arch.h ('K') | « fusl/include/tar.h ('k') | fusl/include/tgmath.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698