+2002-05-08 Ken Raeburn <raeburn@mit.edu>
+
+ * prof_get.c (conf_yes, conf_no): Now const.
+ (profile_parse_boolean): Local variable P points to const.
+
2002-02-19 Ken Raeburn <raeburn@mit.edu>
* Makefile.in (LIBMINOR): Bump, due to error table changes.
return 0;
}
-static char *conf_yes[] = {
+static char *const conf_yes[] = {
"y", "yes", "true", "t", "1", "on",
0,
};
-static char *conf_no[] = {
+static char *const conf_no[] = {
"n", "no", "false", "nil", "0", "off",
0,
};
char *s;
int* ret_boolean;
{
- char **p;
+ char *const *p;
if (ret_boolean == NULL)
return PROF_EINVAL;