uglify headers for the sake of junk that compiles with gcc -std=c89/-ansi
[musl] / include / utmp.h
index ff3e45e..92519c2 100644 (file)
@@ -7,6 +7,10 @@ extern "C" {
 
 #include <utmpx.h>
 
+#define ACCOUNTING 9
+#define UT_NAMESIZE 32
+#define UT_HOSTSIZE 256
+
 #define ut_time ut_tv.tv_sec
 #define ut_name ut_user
 #define ut_exit __ut_exit
@@ -22,6 +26,8 @@ struct utmp *getutline(const struct utmp *);
 struct utmp *pututline(const struct utmp *);
 void         setutent(void);
 
+void updwtmp(const char *, const struct utmp *);
+
 #define _PATH_UTMP "/dev/null"
 #define _PATH_WTMP "/dev/null"