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

Unified Diff: fusl/include/utmp.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/utmp.h
diff --git a/fusl/include/utmp.h b/fusl/include/utmp.h
index 48a400d84dec3d17db76831b2036ba41cfe2ab2b..336acfe0a4b1b963a76187f3f4e55962a16625fa 100644
--- a/fusl/include/utmp.h
+++ b/fusl/include/utmp.h
@@ -13,9 +13,9 @@ extern "C" {
#define UT_LINESIZE 32
struct lastlog {
- time_t ll_time;
- char ll_line[UT_LINESIZE];
- char ll_host[UT_HOSTSIZE];
+ time_t ll_time;
+ char ll_line[UT_LINESIZE];
+ char ll_host[UT_HOSTSIZE];
};
#define ut_time ut_tv.tv_sec
@@ -25,15 +25,15 @@ struct lastlog {
#define e_exit __e_exit
#define e_termination __e_termination
-void endutent(void);
-struct utmp *getutent(void);
-struct utmp *getutid(const struct utmp *);
-struct utmp *getutline(const struct utmp *);
-struct utmp *pututline(const struct utmp *);
-void setutent(void);
+void endutent(void);
+struct utmp* getutent(void);
+struct utmp* getutid(const struct utmp*);
+struct utmp* getutline(const struct utmp*);
+struct utmp* pututline(const struct utmp*);
+void setutent(void);
-void updwtmp(const char *, const struct utmp *);
-int utmpname(const char *);
+void updwtmp(const char*, const struct utmp*);
+int utmpname(const char*);
int login_tty(int);

Powered by Google App Engine
This is Rietveld 408576698