From bc1fe4dcb2c7f2d5952eaeda3fee2e21f8f9a22e Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 10 Oct 2003 09:21:54 +0000 Subject: We do not provide gmtime(), so disable the prototype to prevent confusing autoconf --- 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 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; -- cgit v1.2.3