summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/ntpdate/ntpdate.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ntp/ntpdate/ntpdate.h')
-rw-r--r--contrib/ntp/ntpdate/ntpdate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/ntp/ntpdate/ntpdate.h b/contrib/ntp/ntpdate/ntpdate.h
index 85e438e..5ead20f 100644
--- a/contrib/ntp/ntpdate/ntpdate.h
+++ b/contrib/ntp/ntpdate/ntpdate.h
@@ -4,6 +4,8 @@
#include "ntp_malloc.h"
+extern void loadservers P((char *cfgpath));
+
/*
* The server structure is a much simplified version of the
* peer structure, for ntpdate's use. Since we always send
@@ -61,6 +63,8 @@ struct server {
*/
#define NTPDATE_THRESHOLD (FP_SECOND >> 1) /* 1/2 second */
+#define NTP_MAXAGE 86400 /* one day in seconds */
+
/*
* When doing adjustments, ntpdate actually overadjusts (currently
* by 50%, though this may change). While this will make it take longer
OpenPOWER on IntegriCloud