summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include
diff options
context:
space:
mode:
authorNicola Corna <nicola@corna.info>2017-08-14 20:29:16 +0200
committerMartin Roth <martinroth@google.com>2017-08-21 16:53:20 +0000
commitb016f144cc9301b42b9578131b49ac2100926383 (patch)
tree1baa8349a2abebb42d1c22a63d9cb4993fa92209 /payloads/libpayload/include
parent7f395fe95bd525581214bc12bb7a231be766a502 (diff)
downloadcoreboot-b016f144cc9301b42b9578131b49ac2100926383.tar.xz
libpayload: add time()
Change-Id: I97e393537ccc71ea454bb0d6cdbbb7ed32485f1e Signed-off-by: Nicola Corna <nicola@corna.info> Reviewed-on: https://review.coreboot.org/21011 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'payloads/libpayload/include')
-rw-r--r--payloads/libpayload/include/time.h1
1 files changed, 1 insertions, 0 deletions
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);
/** @} */