diff options
author | millert <millert@openbsd.org> | 2000-08-22 13:59:44 +0000 |
---|---|---|
committer | millert <millert@openbsd.org> | 2000-08-22 13:59:44 +0000 |
commit | f0348535b0919045d41f42b37242dea5a651070a (patch) | |
tree | fbdbea76bf546e2051c5b8441adc2f4168e6e2be /include/time.h | |
parent | 2.8-beta (so that X11 can distinguish login.conf) (diff) | |
download | wireguard-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.h | 5 |
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 |