Remove unused function from runner

This commit is contained in:
Rodrigo Arias 2024-04-15 15:26:30 +02:00
parent 788f272760
commit 1ea42b7d8f

View File

@ -164,34 +164,6 @@ sample(char *argv[])
return 0; 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 int
main(int argc, char *argv[]) main(int argc, char *argv[])
{ {