};
static unsigned char bool_opts[BOOL_MAX];
-static int int_opts[INT_MAX];
+static int int_opts[INT_MAXIMUM];
static char *str_opts[STR_MAX];
static void
set_int(enum int_opts opt, int value)
{
- assert(opt >= 0 && opt < INT_MAX);
+ assert(opt >= 0 && opt < INT_MAXIMUM);
int_opts[opt] = value;
}
int
opt_get_int(enum int_opts opt)
{
- assert(opt >= 0 && opt < INT_MAX);
+ assert(opt >= 0 && opt < INT_MAXIMUM);
return int_opts[opt];
}