diff options
author | Jeffrey Hsu <hsu@FreeBSD.org> | 1996-11-11 09:22:13 +0000 |
---|---|---|
committer | Jeffrey Hsu <hsu@FreeBSD.org> | 1996-11-11 09:22:13 +0000 |
commit | b0e998dc2682feb068b4dbc45b07982d47e90c01 (patch) | |
tree | 754b42dc653f355c7dd4d820d6203c8115280235 /include | |
parent | 7d9120c45172e15d74fa874ea9cf1e4ab634d88d (diff) | |
download | src-b0e998dc2682feb068b4dbc45b07982d47e90c01.tar.gz src-b0e998dc2682feb068b4dbc45b07982d47e90c01.zip |
Change prototypes for gmtime_r() and localtime_r() in accordance with
IEEE pthreads specification.
Notes
Notes:
svn path=/head/; revision=19639
Diffstat (limited to 'include')
-rw-r--r-- | include/time.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/time.h b/include/time.h index 0c119a3c3ede..1051f271e57e 100644 --- a/include/time.h +++ b/include/time.h @@ -102,9 +102,9 @@ 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)); -int gmtime_r __P((const time_t *, struct tm *)); -int localtime_r __P((const time_t *, struct tm *)); +int ctime_r __P((const time_t *, char *, int)); +struct tm *gmtime_r __P((const time_t *, struct tm *)); +struct tm *localtime_r __P((const time_t *, struct tm *)); #endif #ifndef _ANSI_SOURCE |