=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/time.h,v retrieving revision 1.15 retrieving revision 1.16 diff -c -r1.15 -r1.16 *** src/include/time.h 2003/06/26 19:34:17 1.15 --- src/include/time.h 2003/08/01 17:38:33 1.16 *************** *** 1,4 **** ! /* $OpenBSD: time.h,v 1.15 2003/06/26 19:34:17 avsm Exp $ */ /* $NetBSD: time.h,v 1.9 1994/10/26 00:56:35 cgd Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: time.h,v 1.16 2003/08/01 17:38:33 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 *);