OSDN Git Service

We do not provide gmtime(), so disable the prototype to
authorEric Andersen <andersen@codepoet.org>
Fri, 10 Oct 2003 09:21:54 +0000 (09:21 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 10 Oct 2003 09:21:54 +0000 (09:21 -0000)
prevent confusing autoconf

include/time.h

index 782913e..e4b746c 100644 (file)
@@ -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;