From: Ken Raeburn Date: Wed, 8 Jan 2003 03:45:50 +0000 (+0000) Subject: * appdefault.c (conf_yes, conf_no): Now const X-Git-Tag: krb5-1.3-alpha1~184 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fe7af2a64a45687e8bc7cbebe1317e9de1681293;p=krb5.git * appdefault.c (conf_yes, conf_no): Now const git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15093 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index b3fb0ddec..932528a7d 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,7 @@ +2003-01-07 Ken Raeburn + + * appdefault.c (conf_yes, conf_no): Now const. + 2003-01-07 Sam Hartman * mk_req_ext.c (krb5_mk_req_extended): Fix logic error in checksum function handling diff --git a/src/lib/krb5/krb/appdefault.c b/src/lib/krb5/krb/appdefault.c index 35b6eb418..025a03785 100644 --- a/src/lib/krb5/krb/appdefault.c +++ b/src/lib/krb5/krb/appdefault.c @@ -10,12 +10,12 @@ /*xxx Duplicating this is annoying; try to work on a better way.*/ -static const char *conf_yes[] = { +static const char *const conf_yes[] = { "y", "yes", "true", "t", "1", "on", 0, }; -static const char *conf_no[] = { +static const char *const conf_no[] = { "n", "no", "false", "nil", "0", "off", 0, };