소스 검색

We do not provide gmtime(), so disable the prototype to
prevent confusing autoconf

Eric Andersen 22 년 전
부모
커밋
bc1fe4dcb2
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      include/time.h

+ 2 - 0
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;