summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2001-09-22 18:33:09 +0000
committerdfr <dfr@FreeBSD.org>2001-09-22 18:33:09 +0000
commitc167877c16412949c9a85f4856790fe70a8837c7 (patch)
treef452ba7fcdccef30a979c1dc981b2b20161ace26 /sys
parentfb20752c1ac4b114e72701633cbcdc8caf60ba11 (diff)
downloadFreeBSD-src-c167877c16412949c9a85f4856790fe70a8837c7.zip
FreeBSD-src-c167877c16412949c9a85f4856790fe70a8837c7.tar.gz
Add getsecs() for the libstand network code.
Diffstat (limited to 'sys')
-rw-r--r--sys/boot/efi/libefi/time.c6
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);
+}
OpenPOWER on IntegriCloud