Commit ea872078 authored by David Lawrence's avatar David Lawrence
Browse files

define isc_interval_zero and isc_time_epoch

parent f0131db6
......@@ -32,6 +32,9 @@
*** Intervals
***/
static isc_interval_t zero_interval = { 0 };
isc_interval_t *isc_interval_zero = &zero_interval;
void
isc_interval_set(isc_interval_t *i,
unsigned int seconds, unsigned int nanoseconds) {
......@@ -67,7 +70,8 @@ isc_interval_iszero(isc_interval_t *i) {
*** Absolute Times
***/
static FILETIME epoch = { 0, 0 };
static isc_time_t epoch = { 0, 0 };
isc_time_t *isc_time_epoch = &epoch;
void
isc_time_settoepoch(isc_time_t *t) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment