summaryrefslogtreecommitdiff
path: root/include/utmp.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-05-06 16:35:32 -0400
committerRich Felker <dalias@aerifal.cx>2012-05-06 16:35:32 -0400
commit4a99440571e315612e8f7582702df8a41021501f (patch)
treea223d1f2d1b24a9ecd2fd217946c9583a2276c05 /include/utmp.h
parent6ab8136b4477fd75381c06fa0e7fa93c89c712a1 (diff)
downloadmusl-4a99440571e315612e8f7582702df8a41021501f.tar.gz
musl-4a99440571e315612e8f7582702df8a41021501f.tar.bz2
musl-4a99440571e315612e8f7582702df8a41021501f.tar.xz
musl-4a99440571e315612e8f7582702df8a41021501f.zip
some extra legacy header stuff
Diffstat (limited to 'include/utmp.h')
-rw-r--r--include/utmp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/utmp.h b/include/utmp.h
index 92519c2e..b145a11d 100644
--- a/include/utmp.h
+++ b/include/utmp.h
@@ -11,6 +11,12 @@ extern "C" {
#define UT_NAMESIZE 32
#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