From b016f144cc9301b42b9578131b49ac2100926383 Mon Sep 17 00:00:00 2001 From: Nicola Corna Date: Mon, 14 Aug 2017 20:29:16 +0200 Subject: libpayload: add time() Change-Id: I97e393537ccc71ea454bb0d6cdbbb7ed32485f1e Signed-off-by: Nicola Corna Reviewed-on: https://review.coreboot.org/21011 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber Reviewed-by: Paul Menzel --- payloads/libpayload/include/time.h | 1 + 1 file changed, 1 insertion(+) (limited to 'payloads/libpayload/include') diff --git a/payloads/libpayload/include/time.h b/payloads/libpayload/include/time.h index 25f476c82e..42be725e31 100644 --- a/payloads/libpayload/include/time.h +++ b/payloads/libpayload/include/time.h @@ -44,6 +44,7 @@ struct timeval { suseconds_t tv_usec; /**< Microseconds */ }; +time_t time(time_t *tp); int gettimeofday(struct timeval *tv, void *tz); /** @} */ -- cgit v1.2.3