Code

Bernhard Fischer:
[rrdtool-all.git] / program / src / rrd_getopt.c
index 706a67ab8b3ec3fbd8f781ec85bf0639ef2109db..d03b456e8297cc8d7446c848b56fa77ef9c8578a 100644 (file)
@@ -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;