summaryrefslogtreecommitdiffstats
path: root/include/time.h
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2000-08-22 13:59:44 +0000
committermillert <millert@openbsd.org>2000-08-22 13:59:44 +0000
commitf0348535b0919045d41f42b37242dea5a651070a (patch)
treefbdbea76bf546e2051c5b8441adc2f4168e6e2be /include/time.h
parent2.8-beta (so that X11 can distinguish login.conf) (diff)
downloadwireguard-openbsd-f0348535b0919045d41f42b37242dea5a651070a.tar.xz
wireguard-openbsd-f0348535b0919045d41f42b37242dea5a651070a.zip
Prototype timelocal(), timegm(), and timeoff() in the non-ANSI, non-POSIX
section.
Diffstat (limited to 'include/time.h')
-rw-r--r--include/time.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/time.h b/include/time.h
index e4c39e43a75..d929141e395 100644
--- a/include/time.h
+++ b/include/time.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: time.h,v 1.8 1999/09/17 13:13:46 espie Exp $ */
+/* $OpenBSD: time.h,v 1.9 2000/08/22 13:59:44 millert Exp $ */
/* $NetBSD: time.h,v 1.9 1994/10/26 00:56:35 cgd Exp $ */
/*
@@ -113,6 +113,9 @@ void tzset __P((void));
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
char *timezone __P((int, int));
void tzsetwall __P((void));
+time_t timelocal __P((struct tm *));
+time_t timegm __P((struct tm *));
+time_t timeoff __P((struct tm *, const long));
#endif /* neither ANSI nor POSIX */
__END_DECLS