=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/time.h,v retrieving revision 1.13 retrieving revision 1.14 diff -c -r1.13 -r1.14 *** src/include/time.h 2003/06/02 19:34:12 1.13 --- src/include/time.h 2003/06/26 18:35:13 1.14 *************** *** 1,4 **** ! /* $OpenBSD: time.h,v 1.13 2003/06/02 19:34:12 millert Exp $ */ /* $NetBSD: time.h,v 1.9 1994/10/26 00:56:35 cgd Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: time.h,v 1.14 2003/06/26 18:35:13 avsm Exp $ */ /* $NetBSD: time.h,v 1.9 1994/10/26 00:56:35 cgd Exp $ */ /* *************** *** 93,103 **** 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 *); --- 93,106 ---- 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 *) ! __attribute__ ((__bounded__(__string__,1,2))); char *strptime(const char *, const char *, struct tm *); time_t time(time_t *); ! char *asctime_r(const struct tm *, char *) ! __attribute__ ((__bounded__(__minbytes__,2,26))); ! char *ctime_r(const time_t *, char *) ! __attribute__ ((__bounded__(__minbytes__,2,26))); 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 *);