+2002-12-06 Ken Raeburn <raeburn@mit.edu>
+
+ * prof_get.c (conf_yes, conf_no): Entries now point to const.
+ (profile_parse_boolean): Updated type of 'p' correspondingly.
+
2002-10-07 Sam Hartman <hartmans@mit.edu>
* Makefile.in: Support install-headers
2002-10-03 Sam Hartman <hartmans@mit.edu>
- * Makefile.in : Move test_* from all to check targets. so that com_err is not needed on mac.
+ * Makefile.in : Move test_* from all to check targets. so that
+ com_err is not needed on mac.
2002-09-10 Ken Raeburn <raeburn@mit.edu>
return 0;
}
-static char *const conf_yes[] = {
+static const char *const conf_yes[] = {
"y", "yes", "true", "t", "1", "on",
0,
};
-static char *const conf_no[] = {
+static const char *const conf_no[] = {
"n", "no", "false", "nil", "0", "off",
0,
};
char *s;
int* ret_boolean;
{
- char *const *p;
+ const char *const *p;
if (ret_boolean == NULL)
return PROF_EINVAL;