From 3f643d87bbce2c3c5ebe21d3ab44bd93792b31b9 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp 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/time.h') diff --git a/include/time.h b/include/time.h index 3ef83609f672..a2a89c7932ed 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.3