Remove unused function from runner
This commit is contained in:
parent
788f272760
commit
1ea42b7d8f
@ -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[])
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user