=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/time.h,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- src/include/time.h 2001/03/09 02:18:00 1.10 +++ src/include/time.h 2002/02/16 21:27:17 1.11 @@ -1,4 +1,4 @@ -/* $OpenBSD: time.h,v 1.10 2001/03/09 02:18:00 millert Exp $ */ +/* $OpenBSD: time.h,v 1.11 2002/02/16 21:27:17 millert Exp $ */ /* $NetBSD: time.h,v 1.9 1994/10/26 00:56:35 cgd Exp $ */ /* @@ -90,34 +90,34 @@ __BEGIN_DECLS struct timespec; -char *asctime __P((const struct tm *)); -clock_t clock __P((void)); -char *ctime __P((const time_t *)); -double difftime __P((time_t, time_t)); -struct tm *gmtime __P((const time_t *)); -struct tm *localtime __P((const time_t *)); -time_t mktime __P((struct tm *)); -size_t strftime __P((char *, size_t, const char *, const struct tm *)); -char *strptime __P((const char *, const char *, struct tm *)); -time_t time __P((time_t *)); -char *asctime_r __P((const struct tm *, char *)); -char *ctime_r __P((const time_t *, char *)); -struct tm *gmtime_r __P((const time_t *, struct tm *)); -struct tm *localtime_r __P((const time_t *, struct tm *)); -int nanosleep __P((const struct timespec *, struct timespec *)); +char *asctime(const struct tm *); +clock_t clock(void); +char *ctime(const time_t *); +double difftime(time_t, time_t); +struct tm *gmtime(const time_t *); +struct tm *localtime(const time_t *); +time_t mktime(struct tm *); +size_t strftime(char *, size_t, const char *, const struct tm *); +char *strptime(const char *, const char *, struct tm *); +time_t time(time_t *); +char *asctime_r(const struct tm *, char *); +char *ctime_r(const time_t *, char *); +struct tm *gmtime_r(const time_t *, struct tm *); +struct tm *localtime_r(const time_t *, struct tm *); +int nanosleep(const struct timespec *, struct timespec *); #if !defined(_ANSI_SOURCE) #define CLK_TCK 100 extern char *tzname[2]; -void tzset __P((void)); +void tzset(void); #endif /* not ANSI */ #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)); +char *timezone(int, int); +void tzsetwall(void); +time_t timelocal(struct tm *); +time_t timegm(struct tm *); +time_t timeoff(struct tm *, const long); #endif /* neither ANSI nor POSIX */ __END_DECLS