Author: eadler Date: Fri May 25 13:40:05 2018 New Revision: 334207 URL: https://svnweb.freebsd.org/changeset/base/334207
Log: Add time2posix and posix2time to time.h These are documented in `time2posix.3` but the symbols are not actually visible. Since these are not POSIX hide them behind _BSD_VISIBLE. Reviewed by: wollman Differential Revision: https://reviews.freebsd.org/D15530 Modified: head/include/time.h Modified: head/include/time.h ============================================================================== --- head/include/time.h Fri May 25 11:49:21 2018 (r334206) +++ head/include/time.h Fri May 25 13:40:05 2018 (r334207) @@ -199,6 +199,8 @@ void tzsetwall(void); time_t timelocal(struct tm * const); time_t timegm(struct tm * const); int timer_oshandle_np(timer_t timerid); +time_t time2posix(time_t t); +time_t posix2time(time_t t); #endif /* __BSD_VISIBLE */ #if __POSIX_VISIBLE >= 200809 || defined(_XLOCALE_H_) _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"