summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/include/ntpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ntp/include/ntpd.h')
-rw-r--r--contrib/ntp/include/ntpd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/ntp/include/ntpd.h b/contrib/ntp/include/ntpd.h
index be3cd3e..362068c 100644
--- a/contrib/ntp/include/ntpd.h
+++ b/contrib/ntp/include/ntpd.h
@@ -156,7 +156,7 @@ extern u_int sys_tai;
extern int freq_cnt;
/* ntp_monitor.c */
-#define MON_HASH_SIZE (1U << mon_hash_bits)
+#define MON_HASH_SIZE ((size_t)1U << mon_hash_bits)
#define MON_HASH_MASK (MON_HASH_SIZE - 1)
#define MON_HASH(addr) (sock_hash(addr) & MON_HASH_MASK)
extern void init_mon (void);
@@ -408,6 +408,7 @@ extern int hardpps_enable; /* kernel PPS discipline enabled */
extern int ext_enable; /* external clock enabled */
extern int cal_enable; /* refclock calibrate enable */
extern int allow_panic; /* allow panic correction (-g) */
+extern int enable_panic_check; /* Can we check allow_panic's state? */
extern int force_step_once; /* always step time once at startup (-G) */
extern int mode_ntpdate; /* exit on first clock set (-q) */
extern int peer_ntpdate; /* count of ntpdate peers */
OpenPOWER on IntegriCloud