summaryrefslogtreecommitdiff
path: root/sys/dev/clock_subr.c
AgeCommit message (Expand)Author
2016-08-15Fix leap year handling for years 2100 and greater.jakllsch
2014-12-22use symbolic constants (Kamil Rytarowski)christos
2014-11-17Needs sys/clock.h. Use a relative include path here to ease src/toolsjoerg
2014-11-17make this compile again.christos
2014-11-17PR/49207: Kamil Rytarowski: Add sys/clock.h with generic time macroschristos
2014-09-07Avoid overflowing the "year" value by making the field uint64_t. Adaptmartin
2014-09-06Counting leap years was fine while we had 32bit time_t - but now itmartin
2014-09-01If HAVE_NBTOOL_CONFIG_H is set, then include "nbtool_config.h",apb
2014-09-01Revert previous; test secs > __type_max(time_t) again, nowapb
2014-09-01Reformulate an overflow test so it can be used in tool builds (i.e. doesmartin
2014-08-31Make this compile- and usable from userland as well.martin
2011-02-08Remove clause 3 (UCB advertising clause) from the University of Utahrmind
2009-12-12Use time_t to calculate days and secs to avoid potential overflow.tsutsui
2009-12-12KNFtsutsui
2009-02-14convert to ANSI function prototypesperry
2005-12-11merge ktrace-lwp.christos
2005-02-04de-__Pperry
2004-12-29In clock_ymdhms_to_secs(), rather than returning rubbish when presented withbjh21
2003-08-13sys/types.h -> sys/param.h to get vax inlines correct.ragge
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2001-11-13add RCSIDslukem
2001-07-07bcopy -> memcpythorpej
2000-10-03Move #define POSIX_BASE_YEAR to clock_subr.h.tsutsui
1997-10-14Minor improvement to avoid re-defining days_in_month().gwr
1997-03-15New ARP system, supports IPv4 over any hardware link.is
1997-02-20Improve a comment.gwr
1997-02-19Shared functions to convert between year/month/day/hour/minute/secondgwr