]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
pave the way for pulling -stable backport which has these as new files
authorDave Hart <hart@ntp.org>
Wed, 10 Nov 2010 02:52:31 +0000 (02:52 +0000)
committerDave Hart <hart@ntp.org>
Wed, 10 Nov 2010 02:52:31 +0000 (02:52 +0000)
bk: 4cda08efoxU4bR7sFSO0RPiD_NG9uw

m4/ntp_lib_m.m4 [deleted file]
sntp/main.h [deleted file]
sntp/sntp.c [deleted file]

diff --git a/m4/ntp_lib_m.m4 b/m4/ntp_lib_m.m4
deleted file mode 100644 (file)
index 582051a..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-dnl ######################################################################
-dnl What do we need for math libraries?
-AC_DEFUN([NTP_LIB_M], [
-LIBM=
-case "$host" in
- *-*-darwin*)
-    ;;
- *)
-    _libs=$LIBS
-    AC_SEARCH_LIBS(cos, m, LIBM="-lm")
-    LIBS=$_libs
-    ;;
-esac
-AC_SUBST([LIBM])
-])
-dnl ======================================================================
diff --git a/sntp/main.h b/sntp/main.h
deleted file mode 100644 (file)
index cbdeda2..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-#ifndef MAIN_H
-#define MAIN_H
-
-#include <config.h>
-#include <l_stdlib.h>
-#include <ntp_fp.h>
-#include <ntp.h>
-#include <ntp_stdlib.h>
-#include <ntp_unixtime.h>
-#include <isc/result.h>
-#include <isc/net.h>
-#include <stdio.h>
-
-#include <sntp-opts.h>
-
-#include "crypto.h"
-
-void set_li_vn_mode (struct pkt *spkt, char leap, char version, char mode); 
-int sntp_main (int argc, char **argv);
-int generate_pkt (struct pkt *x_pkt, const struct timeval *tv_xmt,
-                                 int key_id, struct key *pkt_key);
-int handle_pkt (int rpktl, struct pkt *rpkt, struct addrinfo *host);
-void offset_calculation (struct pkt *rpkt, int rpktl, struct timeval *tv_dst,
-                                                double *offset, double *precision,
-                                                double *root_dispersion);
-int on_wire (struct addrinfo *host, struct addrinfo *bcastaddr);
-int set_time (double offset);
-
-#endif /* MAIN_H */
diff --git a/sntp/sntp.c b/sntp/sntp.c
deleted file mode 100644 (file)
index 28101a0..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "main.h"
-
-char *progname = "sntp";       /* for msyslog */
-volatile int debug;
-
-int 
-main (
-       int argc,
-       char **argv
-       ) 
-{
-       return sntp_main(argc, argv);
-}