summaryrefslogtreecommitdiffstats
path: root/include/time.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1998-04-19 06:47:25 +0000
committerphk <phk@FreeBSD.org>1998-04-19 06:47:25 +0000
commit6d7eb64b154e7f047a65106576dd82344464d1c4 (patch)
tree0dda0ba870015247bab30960b84ca60fcf8eb871 /include/time.h
parent538a55c2428a63d5e8d41bde9560d3afb3009433 (diff)
downloadFreeBSD-src-6d7eb64b154e7f047a65106576dd82344464d1c4.zip
FreeBSD-src-6d7eb64b154e7f047a65106576dd82344464d1c4.tar.gz
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 <dima@xyzzy.machaon.ru>
Diffstat (limited to 'include/time.h')
-rw-r--r--include/time.h4
1 files changed, 2 insertions, 2 deletions
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
OpenPOWER on IntegriCloud