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

Unified Diff: fusl/src/network/sockatmark.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/network/sockatmark.c
diff --git a/fusl/src/network/sockatmark.c b/fusl/src/network/sockatmark.c
index f474551aafe44b15eb90fd19b37fef5696d6a3a1..48512c137b7c8a6d742a9107d24b6cb45b89a305 100644
--- a/fusl/src/network/sockatmark.c
+++ b/fusl/src/network/sockatmark.c
@@ -1,10 +1,9 @@
#include <sys/socket.h>
#include <sys/ioctl.h>
-int sockatmark(int s)
-{
- int ret;
- if (ioctl(s, SIOCATMARK, &ret) < 0)
- return -1;
- return ret;
+int sockatmark(int s) {
+ int ret;
+ if (ioctl(s, SIOCATMARK, &ret) < 0)
+ return -1;
+ return ret;
}

Powered by Google App Engine
This is Rietveld 408576698