Remove unnecessary local refernce to time()
At the start of the check_idle() function, there is an unnecessary local declaration of time(2), which is already declared at the start of the program. It has been removed.
This commit is contained in:
parent
261b0c5084
commit
9869a3657d
|
@ -984,7 +984,7 @@ void check_idle()
|
|||
char user[sizeof(utmpp->ut_user)];
|
||||
char host[sizeof(utmpp->ut_host)];
|
||||
struct stat status, *pstat;
|
||||
time_t idle, sesstime, time();
|
||||
time_t idle, sesstime;
|
||||
short aktconfigline = -1; /* -1 if user is in config; >0 if he's not in config, * is handled in an other way */
|
||||
|
||||
pstat = &status; /* point to status structure */
|
||||
|
|
Loading…
Reference in a new issue