X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Frrd_getopt.c;h=d03b456e8297cc8d7446c848b56fa77ef9c8578a;hb=5da9b71e963fac9f7c8a95ebcbd39c5449a45809;hp=706a67ab8b3ec3fbd8f781ec85bf0639ef2109db;hpb=2a6a270edfda89b04722b42b57992907f871c671;p=rrdtool.git diff --git a/src/rrd_getopt.c b/src/rrd_getopt.c index 706a67a..d03b456 100644 --- a/src/rrd_getopt.c +++ b/src/rrd_getopt.c @@ -190,7 +190,7 @@ int optopt = '?'; of the value of `ordering'. In the case of RETURN_IN_ORDER, only `--' can cause `getopt' to return -1 with `optind' != ARGC. */ -static enum { +static const enum { REQUIRE_ORDER, PERMUTE, RETURN_IN_ORDER } ordering;