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

Unified Diff: fusl/src/legacy/utmpx.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/legacy/utmpx.c
diff --git a/fusl/src/legacy/utmpx.c b/fusl/src/legacy/utmpx.c
index e2843c94af41271e482732fa31a4f9e8d6c363d5..a3e6f8167310fbedbd95240be37f32b403c1670f 100644
--- a/fusl/src/legacy/utmpx.c
+++ b/fusl/src/legacy/utmpx.c
@@ -3,42 +3,31 @@
#include <errno.h>
#include "libc.h"
-void endutxent(void)
-{
-}
+void endutxent(void) {}
-void setutxent(void)
-{
-}
+void setutxent(void) {}
-struct utmpx *getutxent(void)
-{
- return NULL;
+struct utmpx* getutxent(void) {
+ return NULL;
}
-struct utmpx *getutxid(const struct utmpx *ut)
-{
- return NULL;
+struct utmpx* getutxid(const struct utmpx* ut) {
+ return NULL;
}
-struct utmpx *getutxline(const struct utmpx *ut)
-{
- return NULL;
+struct utmpx* getutxline(const struct utmpx* ut) {
+ return NULL;
}
-struct utmpx *pututxline(const struct utmpx *ut)
-{
- return NULL;
+struct utmpx* pututxline(const struct utmpx* ut) {
+ return NULL;
}
-void updwtmpx(const char *f, const struct utmpx *u)
-{
-}
+void updwtmpx(const char* f, const struct utmpx* u) {}
-int __utmpxname(const char *f)
-{
- errno = ENOTSUP;
- return -1;
+int __utmpxname(const char* f) {
+ errno = ENOTSUP;
+ return -1;
}
weak_alias(endutxent, endutent);

Powered by Google App Engine
This is Rietveld 408576698