diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2003-09-06 03:28:11 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2003-09-06 03:28:11 +0000 |
commit | 24b3f737bcf067a92e098e98b0684491400e4181 (patch) | |
tree | eec0bceebcd4f7485826953f7a106fbade56a01c /include/time.h | |
parent | 1bb56f359252561d0f56d7fdbae7c697069797c0 (diff) |
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.
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; |