aboutsummaryrefslogtreecommitdiff
path: root/contrib/ntp/sntp/tests/sntptest.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ntp/sntp/tests/sntptest.c')
-rw-r--r--contrib/ntp/sntp/tests/sntptest.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/contrib/ntp/sntp/tests/sntptest.c b/contrib/ntp/sntp/tests/sntptest.c
index 73c1ad26f396..cb08d371ab75 100644
--- a/contrib/ntp/sntp/tests/sntptest.c
+++ b/contrib/ntp/sntp/tests/sntptest.c
@@ -1,7 +1,5 @@
#include "config.h"
-#include "ntp_stdlib.h"
-#include "sntp-opts.h"
#include "sntptest.h"
void
@@ -28,6 +26,6 @@ ActivateOption(const char* option, const char* argument) {
opts[2] = estrdup(argument);
opts[3] = estrdup("127.0.0.1");
- optionProcess(&sntpOptions, ARGV_SIZE, opts);
+ optionProcess(&sntpOptions, COUNTOF(opts), opts);
}