Browse Source

Prototype timelocal(), timegm(), and timeoff() in the non-ANSI, non-POSIX

section.
OPENBSD_2_8
millert 24 years ago
parent
commit
6df46d482b
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      src/include/time.h

+ 4
- 1
src/include/time.h View File

@ -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 $ */ /* $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) #if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
char *timezone __P((int, int)); char *timezone __P((int, int));
void tzsetwall __P((void)); 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 */ #endif /* neither ANSI nor POSIX */
__END_DECLS __END_DECLS


Loading…
Cancel
Save