aboutsummaryrefslogtreecommitdiff
path: root/include/time.h
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>2001-10-28 20:13:16 +0000
committerMatthew Dillon <dillon@FreeBSD.org>2001-10-28 20:13:16 +0000
commite8627df69dc353e5db872d631d2b73001679f649 (patch)
tree1ed18984204d465714c14b43e94e4f3ac5eba93c /include/time.h
parent5b3817c60b5d4e7ac21b4576f820cad7e853b5d9 (diff)
downloadsrc-e8627df69dc353e5db872d631d2b73001679f649.tar.gz
src-e8627df69dc353e5db872d631d2b73001679f649.zip
Add time_to_int(), int_to_time(), time_to_long(), long_to_time().
Notes
Notes: svn path=/head/; revision=85636
Diffstat (limited to 'include/time.h')
-rw-r--r--include/time.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h
index 6cff71399139..9143cbc3ef98 100644
--- a/include/time.h
+++ b/include/time.h
@@ -140,6 +140,10 @@ time_t time32_to_time __P((__int32_t t32));
__int32_t time_to_time32 __P((time_t t));
time_t time64_to_time __P((__int64_t t64));
__int64_t time_to_time64 __P((time_t t));
+long time_to_long __P((time_t t));
+time_t long_to_time __P((long tlong));
+int time_to_int __P((time_t t));
+time_t int_to_time __P((int tint));
#endif /* not ANSI */
#ifndef _ANSI_SOURCE