summaryrefslogtreecommitdiff
path: root/include/time.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-08-22 13:59:45 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-08-22 13:59:45 +0000
commit0999e0bfc580038ceab96814b6eb7a1d2d7d50a9 (patch)
tree4bbd5f94d1b14197aed6c9995cb4d0916531516e /include/time.h
parentb8a72eaf9d503ee73842e5675f8adda87808d9ef (diff)
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