diff --git a/timeoutd.c b/timeoutd.c index 1d6c175..6fac1ce 100644 --- a/timeoutd.c +++ b/timeoutd.c @@ -165,7 +165,6 @@ struct ut_list { }; struct ut_list *wtmplist = (struct ut_list *) NULL; -struct ut_list *ut_list_p; struct time_ent { int days; @@ -388,6 +387,7 @@ void read_wtmp() { FILE *fp; struct utmp ut; + struct ut_list *ut_list_p; struct tm *tm; #ifdef DEBUG @@ -445,6 +445,7 @@ void read_wtmp() void free_wtmp() { + struct ut_list *ut_list_p; #ifdef DEBUG openlog("timeoutd", OPENLOG_FLAGS, LOG_DAEMON); syslog(SYSLOG_DEBUG, "Freeing list of today's wtmp entries.");