From: Tomasz Flendrich Date: Fri, 19 Jun 2015 07:03:32 +0000 (+0000) Subject: removed generated files that are not longer used X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d57eddba9cabc608715542587b2482078b458631;p=thirdparty%2Fntp.git removed generated files that are not longer used bk: 5583bec4RWPGyHqOVi4Lt4ddEWAuXQ --- diff --git a/tests/libntp/test-caltontp.c b/tests/libntp/test-caltontp.c deleted file mode 100644 index e69de29bb..000000000 diff --git a/tests/libntp/test-libntp.c b/tests/libntp/test-libntp.c deleted file mode 100644 index 3e50e8e8f..000000000 --- a/tests/libntp/test-libntp.c +++ /dev/null @@ -1,31 +0,0 @@ -#include - -#include "ntp_stdlib.h" -#include "ntp_calendar.h" -#include "test-libntp.h" - -//const char *progname = "test-libntp"; - -// current_time is needed by authkeys. Used only in to calculate lifetime. -//u_long current_time = 4; - - -time_t nowtime = 0; - -time_t timefunc(time_t *ptr) -{ - if (ptr) - *ptr = nowtime; - return nowtime; -} - -void settime(int y, int m, int d, int H, int M, int S) -{ - - time_t days = ntpcal_edate_to_eradays(y-1, m-1, d-1) + 1 - DAY_UNIX_STARTS; - time_t secs = ntpcal_etime_to_seconds(H, M, S); - - nowtime = days * SECSPERDAY + secs; -} - - diff --git a/tests/libntp/test-libntp.h b/tests/libntp/test-libntp.h deleted file mode 100644 index eb113cd52..000000000 --- a/tests/libntp/test-libntp.h +++ /dev/null @@ -1,3 +0,0 @@ -time_t timefunc(time_t *ptr); -void settime(int y, int m, int d, int H, int M, int S); -time_t nowtime; diff --git a/tests/libntp/test-msyslog.c b/tests/libntp/test-msyslog.c deleted file mode 100644 index e69de29bb..000000000 diff --git a/tests/libntp/test-prettydate.c b/tests/libntp/test-prettydate.c deleted file mode 100644 index e69de29bb..000000000 diff --git a/tests/libntp/test-recvbuff.c b/tests/libntp/test-recvbuff.c deleted file mode 100644 index e69de29bb..000000000 diff --git a/tests/libntp/test-ssl_init.c b/tests/libntp/test-ssl_init.c deleted file mode 100644 index e69de29bb..000000000 diff --git a/tests/libntp/test-tstotv.c b/tests/libntp/test-tstotv.c deleted file mode 100644 index e69de29bb..000000000 diff --git a/tests/libntp/test-vi64ops.c b/tests/libntp/test-vi64ops.c deleted file mode 100644 index e69de29bb..000000000