summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/ntpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ntpd/ntpd.h')
-rw-r--r--usr.sbin/ntpd/ntpd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ntpd/ntpd.h b/usr.sbin/ntpd/ntpd.h
index 208d19ccdfe..9305cf0cd9c 100644
--- a/usr.sbin/ntpd/ntpd.h
+++ b/usr.sbin/ntpd/ntpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ntpd.h,v 1.149 2020/02/12 19:14:56 otto Exp $ */
+/* $OpenBSD: ntpd.h,v 1.150 2020/08/30 16:21:29 otto Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -344,6 +344,8 @@ time_t error_interval(void);
extern struct ntpd_conf *conf;
extern struct ctl_conns ctl_conns;
+#define SCALE_INTERVAL(x) MAXIMUM(5, (x) / 10)
+
/* parse.y */
int parse_config(const char *, struct ntpd_conf *);