summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2018-02-23 04:04:25 +0000
committerWarner Losh <imp@FreeBSD.org>2018-02-23 04:04:25 +0000
commitef1fcaf0f5bf501986c4c3d5c260c020eec57a92 (patch)
treefa32a7d74d83ec1dfe23d311369d9bfcc774f565 /include
parent07c17b2b00d8c1c8a2d58d4d8f99e64ec1182476 (diff)
downloadsrc-test-ef1fcaf0f5bf501986c4c3d5c260c020eec57a92.tar.gz
src-test-ef1fcaf0f5bf501986c4c3d5c260c020eec57a92.zip
Do not include float interfaces when using libsa.
We don't support float in the boot loaders, so don't include interfaces for float or double in systems headers. In addition, take the unusual step of spiking double and float to prevent any more accidental seepage.
Notes
Notes: svn path=/head/; revision=329859
Diffstat (limited to 'include')
-rw-r--r--include/time.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h
index cacb7f2f26e45..52c95918f1161 100644
--- a/include/time.h
+++ b/include/time.h
@@ -146,7 +146,9 @@ __BEGIN_DECLS
char *asctime(const struct tm *);
clock_t clock(void);
char *ctime(const time_t *);
+#ifndef _STANDALONE
double difftime(time_t, time_t);
+#endif
/* XXX missing: getdate() */
struct tm *gmtime(const time_t *);
struct tm *localtime(const time_t *);