From: Alan Cox Date: Fri, 2 Jan 2015 10:09:18 +0000 (+0000) Subject: times: correct returned type to be clock_t X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=a486bb6ce6d62bf10d380db40f852fdb9f30bebb;p=FUZIX.git times: correct returned type to be clock_t From: Sergio L. Pascual --- 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);