diff options
Diffstat (limited to 'include/time.h')
-rw-r--r-- | include/time.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h index d2ae86328..782913e4b 100644 --- a/include/time.h +++ b/include/time.h @@ -186,9 +186,11 @@ extern clock_t clock (void) __THROW; /* Return the current time and put it in *TIMER if TIMER is not NULL. */ extern time_t time (time_t *__timer) __THROW; +#ifdef __UCLIBC_HAS_FLOATS__ /* Return the difference between TIME1 and TIME0. */ extern double difftime (time_t __time1, time_t __time0) __THROW __attribute__ ((__const__)); +#endif /* __UCLIBC_HAS_FLOATS__ */ /* Return the `time_t' representation of TP and normalize TP. */ extern time_t mktime (struct tm *__tp) __THROW; |