X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Futmp.h;h=c24d0a8d0a54a2cf93624a706f2561336631b562;hb=f03db4bdff7b2f02b5cbdda96cf0241efa4e80ef;hp=92519c2e570734fbe68ef26a37f713809bc0a349;hpb=fa3bbbd453372c0894c8fe5170186d049911610f;p=oweals%2Fmusl.git diff --git a/include/utmp.h b/include/utmp.h index 92519c2e..c24d0a8d 100644 --- a/include/utmp.h +++ b/include/utmp.h @@ -11,11 +11,14 @@ 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 -#define e_termination __e_termination -#define e_exit __e_exit #define utmp utmpx #define utmpname(x) (-1)