From 6d7eb64b154e7f047a65106576dd82344464d1c4 Mon Sep 17 00:00:00 2001 From: phk Date: Sun, 19 Apr 1998 06:47:25 +0000 Subject: ctime_r and asctime_r are not implemented. prototypes in time.h do not match POSIX. PR: 6345 Reviewed by: phk Submitted by: Dmitry Khrustalev --- include/time.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/time.h b/include/time.h index 3ef8360..a2a89c7 100644 --- a/include/time.h +++ b/include/time.h @@ -128,8 +128,8 @@ size_t strftime __P((char *, size_t, const char *, const struct tm *)); time_t time __P((time_t *)); #ifdef _THREAD_SAFE -int asctime_r __P((const struct tm *, char *, int)); -int ctime_r __P((const time_t *, char *, int)); +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 *)); #endif -- cgit v1.1