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

Unified Diff: fusl/include/sys/un.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/sys/un.h
diff --git a/fusl/include/sys/un.h b/fusl/include/sys/un.h
index 7494f1a382ed0164f6e7dc35520e19d30e33c6bf..07a1a90cc225d08f720af746b685d1d613efa891 100644
--- a/fusl/include/sys/un.h
+++ b/fusl/include/sys/un.h
@@ -1,5 +1,5 @@
-#ifndef _SYS_UN_H
-#define _SYS_UN_H
+#ifndef _SYS_UN_H
+#define _SYS_UN_H
#ifdef __cplusplus
extern "C" {
@@ -14,15 +14,14 @@ extern "C" {
#include <bits/alltypes.h>
-struct sockaddr_un
-{
- sa_family_t sun_family;
- char sun_path[108];
+struct sockaddr_un {
+ sa_family_t sun_family;
+ char sun_path[108];
};
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
-size_t strlen(const char *);
-#define SUN_LEN(s) (2+strlen((s)->sun_path))
+size_t strlen(const char*);
+#define SUN_LEN(s) (2 + strlen((s)->sun_path))
#endif
#ifdef __cplusplus

Powered by Google App Engine
This is Rietveld 408576698