diff options
Diffstat (limited to 'contrib/ntp/ntpdate/ntpdate.h')
-rw-r--r-- | contrib/ntp/ntpdate/ntpdate.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/ntp/ntpdate/ntpdate.h b/contrib/ntp/ntpdate/ntpdate.h index 85e438e3307c..5ead20f9e48a 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 |