diff --git a/src/rrd_getopt.c b/src/rrd_getopt.c
index 706a67ab8b3ec3fbd8f781ec85bf0639ef2109db..d03b456e8297cc8d7446c848b56fa77ef9c8578a 100644 (file)
--- a/src/rrd_getopt.c
+++ b/src/rrd_getopt.c
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;