From 24b3f737bcf067a92e098e98b0684491400e4181 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Sat, 6 Sep 2003 03:28:11 +0000 Subject: Don't install floating point related headers, and wrap some previously unwrapped prototypes, when float support is disabled. Also don't install printf.h if glibc custom printf specifier support is disabled. --- include/time.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/time.h') 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; -- cgit v1.2.3