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>
This commit is contained in:
Nicola Corna
2017-08-14 20:29:16 +02:00
committed by Martin Roth
parent 7f395fe95b
commit b016f144cc
2 changed files with 21 additions and 6 deletions

View File

@ -44,6 +44,7 @@ struct timeval {
suseconds_t tv_usec; /**< Microseconds */
};
time_t time(time_t *tp);
int gettimeofday(struct timeval *tv, void *tz);
/** @} */