Add getsecs() for the libstand network code.
This commit is contained in:
parent
fb20752c1a
commit
c167877c16
@ -218,3 +218,9 @@ time(time_t *tloc)
|
||||
*tloc = tv.tv_sec;
|
||||
return tv.tv_sec;
|
||||
}
|
||||
|
||||
time_t
|
||||
getsecs()
|
||||
{
|
||||
return time(0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user