=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/time.h,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- src/include/time.h 2015/03/17 19:31:30 1.27 +++ src/include/time.h 2015/04/07 01:47:04 1.28 @@ -1,4 +1,4 @@ -/* $OpenBSD: time.h,v 1.27 2015/03/17 19:31:30 millert Exp $ */ +/* $OpenBSD: time.h,v 1.28 2015/04/07 01:47:04 millert Exp $ */ /* $NetBSD: time.h,v 1.9 1994/10/26 00:56:35 cgd Exp $ */ /* @@ -135,6 +135,10 @@ __attribute__ ((__bounded__(__string__,1,2))); time_t time(time_t *); +#if __XPG_VISIBLE >= 300 +extern int daylight; +extern long timezone; +#endif #if __XPG_VISIBLE >= 400 char *strptime(const char *__restrict, const char *__restrict, struct tm *__restrict); @@ -166,7 +170,6 @@ #endif #if __BSD_VISIBLE -char *timezone(int, int); void tzsetwall(void); time_t timelocal(struct tm *); time_t timegm(struct tm *);