summaryrefslogtreecommitdiffstats
path: root/usr.bin/last/last.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/last/last.c')
-rw-r--r--usr.bin/last/last.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/last/last.c b/usr.bin/last/last.c
index 719f116..c87f696 100644
--- a/usr.bin/last/last.c
+++ b/usr.bin/last/last.c
@@ -74,12 +74,12 @@ typedef struct arg {
} ARG;
ARG *arglist; /* head of linked list */
-LIST_HEAD(ttylisthead, struct ttytab) ttylist;
+LIST_HEAD(ttylisthead, ttytab) ttylist;
struct ttytab {
time_t logout; /* log out time */
char tty[UT_LINESIZE + 1]; /* terminal name */
- LIST_ENTRY(struct ttytab) list;
+ LIST_ENTRY(ttytab) list;
};
static long currentout, /* current logout value */
OpenPOWER on IntegriCloud