From: Alan Cox Date: Fri, 2 Jan 2015 10:22:57 +0000 (+0000) Subject: time.h: clock should return clock_t X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=5eb672e7dc3f5965a26f65edd3523d4f64a71af6;p=FUZIX.git time.h: clock should return clock_t From: Sergio L. Pascual --- diff --git a/Library/include/time.h b/Library/include/time.h index 8579808f..0c9a24e0 100644 --- a/Library/include/time.h +++ b/Library/include/time.h @@ -6,11 +6,6 @@ #include #include -#ifndef CLOCK_T -#define CLOCK_T -typedef long clock_t; -#endif - struct tm { int tm_sec; int tm_min; @@ -35,7 +30,7 @@ extern char *tzname[2]; extern int daylight; extern long timezone; -extern long clock __P ((void)); +extern clock_t clock __P ((void)); extern time_t mktime __P ((struct tm * __tp)); extern double difftime __P ((time_t *__time2, time_t *__time1));