diff --git a/src/rrd_first.c b/src/rrd_first.c
index abba426f21ecf60ce86c2f27b3cd839605d0986b..d2b81a958bac38e86ab7565205ae617f4af2d86b 100644 (file)
--- a/src/rrd_first.c
+++ b/src/rrd_first.c
{
int target_rraindex = 0;
char *endptr;
+ struct option long_options[] = {
+ {"rraindex", required_argument, 0, 129},
+ {0, 0, 0, 0}
+ };
optind = 0;
opterr = 0; /* initialize getopt */
while (1) {
- static struct option long_options[] = {
- {"rraindex", required_argument, 0, 129},
- {0, 0, 0, 0}
- };
int option_index = 0;
int opt;