summaryrefslogtreecommitdiff
path: root/libutil/logout.c
diff options
context:
space:
mode:
Diffstat (limited to 'libutil/logout.c')
-rw-r--r--libutil/logout.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libutil/logout.c b/libutil/logout.c
index 4580455..0181e23 100644
--- a/libutil/logout.c
+++ b/libutil/logout.c
@@ -18,14 +18,14 @@
#include <errno.h>
#include <string.h>
-#include <utmp.h>
#include <sys/time.h>
+#include "internal/utmp.h"
int
logout (const char *line)
{
- struct utmp tmp;
- struct utmp *ut;
+ struct UT tmp;
+ struct UT *ut;
int result = 0;
/* if (utmpname (_PATH_UTMP) == -1) return 0; - why?