summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/clockstuff/propdelay.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2015-07-15 19:21:26 +0000
committerdelphij <delphij@FreeBSD.org>2015-07-15 19:21:26 +0000
commit2a25cee78ab1d37e7d2bc40ae675646974d99f56 (patch)
treeb0302ac4be59e104f4e1e54014561a1389397192 /contrib/ntp/clockstuff/propdelay.c
parenta0741a75537b2e0514472ac3b28afc55a7846c30 (diff)
downloadFreeBSD-src-2a25cee78ab1d37e7d2bc40ae675646974d99f56.zip
FreeBSD-src-2a25cee78ab1d37e7d2bc40ae675646974d99f56.tar.gz
MFC r280849,280915-280916,281015-281016,282097,282408,282415,283542,
284864,285169-285170,285435: ntp 4.2.8p3. Relnotes: yes Approved by: re (?)
Diffstat (limited to 'contrib/ntp/clockstuff/propdelay.c')
-rw-r--r--contrib/ntp/clockstuff/propdelay.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/ntp/clockstuff/propdelay.c b/contrib/ntp/clockstuff/propdelay.c
index c8df686..52c2032 100644
--- a/contrib/ntp/clockstuff/propdelay.c
+++ b/contrib/ntp/clockstuff/propdelay.c
@@ -47,6 +47,9 @@
* to find delays to GOES via each of the three satellites.
*/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
#include <stdio.h>
#include <string.h>
@@ -115,7 +118,6 @@ int Gflag = 0;
int height;
char *progname;
-volatile int debug;
static void doit (double, double, double, double, double, char *);
static double latlong (char *, int);
@@ -142,6 +144,8 @@ main(
double lat2, long2;
double lat3, long3;
+ init_lib();
+
progname = argv[0];
while ((c = ntp_getopt(argc, argv, "dh:CWG")) != EOF)
switch (c) {
OpenPOWER on IntegriCloud