projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clean up and refactor program initialization
[musl]
/
include
/
utmp.h
diff --git
a/include/utmp.h
b/include/utmp.h
index
77b16c7
..
b145a11
100644
(file)
--- a/
include/utmp.h
+++ b/
include/utmp.h
@@
-8,9
+8,15
@@
extern "C" {
#include <utmpx.h>
#define ACCOUNTING 9
#include <utmpx.h>
#define ACCOUNTING 9
-#define UT_
LINESIZE 1
2
+#define UT_
NAMESIZE 3
2
#define UT_HOSTSIZE 256
#define UT_HOSTSIZE 256
+struct lastlog {
+ time_t ll_time;
+ char ll_line[UT_LINESIZE];
+ char ll_host[UT_HOSTSIZE];
+};
+
#define ut_time ut_tv.tv_sec
#define ut_name ut_user
#define ut_exit __ut_exit
#define ut_time ut_tv.tv_sec
#define ut_name ut_user
#define ut_exit __ut_exit