From 1ea42b7d8fbdec9db58e6cc05d97a8cf9033cf97 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Mon, 15 Apr 2024 15:26:30 +0200 Subject: [PATCH] Remove unused function from runner --- src/tools/runner.c | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/src/tools/runner.c b/src/tools/runner.c index 00167c3..25493f7 100644 --- a/src/tools/runner.c +++ b/src/tools/runner.c @@ -164,34 +164,6 @@ sample(char *argv[]) return 0; } -static void -parse_options(struct options *options, int argc, char *argv[]) -{ - /* Default options */ - options->ndrift_samples = 1; - options->nsamples = 100; - options->verbose = 0; - options->drift_wait = 5; - options->outpath = "ovni/clock-offsets.txt"; - - int opt; - while ((opt = getopt(argc, argv, "hl")) != -1) { - switch (opt) { - case 'l': - list(); - break; - case 'h': - default: /* '?' */ - usage(); - } - } - - if (optind < argc) { - fprintf(stderr, "error: unexpected extra arguments\n"); - exit(EXIT_FAILURE); - } -} - int main(int argc, char *argv[]) {