From a486bb6ce6d62bf10d380db40f852fdb9f30bebb Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 2 Jan 2015 10:09:18 +0000 Subject: [PATCH] times: correct returned type to be clock_t From: Sergio L. Pascual --- Library/include/sys/times.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Library/include/sys/times.h b/Library/include/sys/times.h index dbfbf633..4897c871 100644 --- a/Library/include/sys/times.h +++ b/Library/include/sys/times.h @@ -3,11 +3,11 @@ /* User's structure for times() system call */ struct tms { - time_t tms_utime; - time_t tms_stime; - time_t tms_cutime; - time_t tms_cstime; - time_t tms_etime; /* Elapsed real time */ + clock_t tms_utime; + clock_t tms_stime; + clock_t tms_cutime; + clock_t tms_cstime; + clock_t tms_etime; /* Elapsed real time */ }; extern int times(struct tms *tms); -- 2.34.1