aboutsummaryrefslogtreecommitdiff
path: root/include/time.h
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1998-04-19 06:47:25 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1998-04-19 06:47:25 +0000
commit3f643d87bbce2c3c5ebe21d3ab44bd93792b31b9 (patch)
tree1cabb9fb6008ff25bd6ccdff5a6430c982161c86 /include/time.h
parent823833f19df1eed41eff6f44c072a704ff55b1c6 (diff)
downloadsrc-3f643d87bbce2c3c5ebe21d3ab44bd93792b31b9.tar.gz
src-3f643d87bbce2c3c5ebe21d3ab44bd93792b31b9.zip
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>
Notes
Notes: svn path=/head/; revision=35285
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 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