From c167877c16412949c9a85f4856790fe70a8837c7 Mon Sep 17 00:00:00 2001 From: dfr Date: Sat, 22 Sep 2001 18:33:09 +0000 Subject: [PATCH] Add getsecs() for the libstand network code. --- sys/boot/efi/libefi/time.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/boot/efi/libefi/time.c b/sys/boot/efi/libefi/time.c index 2f598f60c888..27192de7ab6f 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); +}