summaryrefslogtreecommitdiff
path: root/include/time.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-10-10 09:21:54 +0000
committerEric Andersen <andersen@codepoet.org>2003-10-10 09:21:54 +0000
commitbc1fe4dcb2c7f2d5952eaeda3fee2e21f8f9a22e (patch)
treebf57e4cbc4436dc43e054f9cff5f1c1fa3f47bad /include/time.h
parent6e80c6c0ea979115698e02f2d8a7c47a2ecabd5f (diff)
We do not provide gmtime(), so disable the prototype to
prevent confusing autoconf
Diffstat (limited to 'include/time.h')
-rw-r--r--include/time.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h
index 782913e4b..e4b746c6d 100644
--- a/include/time.h
+++ b/include/time.h
@@ -323,8 +323,10 @@ extern int stime (__const time_t *__when) __THROW;
/* Miscellaneous functions many Unices inherited from the public domain
localtime package. These are included only for compatibility. */
+#if 0
/* Like `mktime', but for TP represents Universal Time, not local time. */
extern time_t timegm (struct tm *__tp) __THROW;
+#endif
/* Another name for `mktime'. */
extern time_t timelocal (struct tm *__tp) __THROW;