summaryrefslogtreecommitdiffstats
path: root/include/time.h
diff options
context:
space:
mode:
authorhsu <hsu@FreeBSD.org>1996-11-11 09:22:13 +0000
committerhsu <hsu@FreeBSD.org>1996-11-11 09:22:13 +0000
commit1a0d3a30c746937f9ad3e0557735fa024ffcea8a (patch)
tree754b42dc653f355c7dd4d820d6203c8115280235 /include/time.h
parent16f3f7873ec0808944593adc1305289ee999ca8f (diff)
downloadFreeBSD-src-1a0d3a30c746937f9ad3e0557735fa024ffcea8a.zip
FreeBSD-src-1a0d3a30c746937f9ad3e0557735fa024ffcea8a.tar.gz
Change prototypes for gmtime_r() and localtime_r() in accordance with
IEEE pthreads specification.
Diffstat (limited to 'include/time.h')
-rw-r--r--include/time.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/time.h b/include/time.h
index 0c119a3..1051f27 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
OpenPOWER on IntegriCloud