diff options
author | dfr <dfr@FreeBSD.org> | 2001-09-22 18:33:09 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2001-09-22 18:33:09 +0000 |
commit | c167877c16412949c9a85f4856790fe70a8837c7 (patch) | |
tree | f452ba7fcdccef30a979c1dc981b2b20161ace26 /sys/boot | |
parent | fb20752c1ac4b114e72701633cbcdc8caf60ba11 (diff) | |
download | FreeBSD-src-c167877c16412949c9a85f4856790fe70a8837c7.zip FreeBSD-src-c167877c16412949c9a85f4856790fe70a8837c7.tar.gz |
Add getsecs() for the libstand network code.
Diffstat (limited to 'sys/boot')
-rw-r--r-- | sys/boot/efi/libefi/time.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/boot/efi/libefi/time.c b/sys/boot/efi/libefi/time.c index 2f598f6..27192de 100644 --- a/sys/boot/efi/libefi/time.c +++ b/sys/boot/efi/libefi/time.c @@ -218,3 +218,9 @@ time(time_t *tloc) *tloc = tv.tv_sec; return tv.tv_sec; } + +time_t +getsecs() +{ + return time(0); +} |