diff options
author | Ken Raeburn <raeburn@mit.edu> | 2003-01-08 03:45:50 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2003-01-08 03:45:50 +0000 |
commit | fe7af2a64a45687e8bc7cbebe1317e9de1681293 (patch) | |
tree | 478b8991998c66e23ca925cc92298629798a8112 /src/lib | |
parent | 44253a4ea4baf7cf7789f9ee60f76b1d268feb53 (diff) | |
download | krb5-fe7af2a64a45687e8bc7cbebe1317e9de1681293.tar.gz krb5-fe7af2a64a45687e8bc7cbebe1317e9de1681293.tar.xz krb5-fe7af2a64a45687e8bc7cbebe1317e9de1681293.zip |
* appdefault.c (conf_yes, conf_no): Now const
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15093 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/krb5/krb/ChangeLog | 4 | ||||
-rw-r--r-- | src/lib/krb5/krb/appdefault.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index b3fb0ddec2..932528a7d2 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,7 @@ +2003-01-07 Ken Raeburn <raeburn@mit.edu> + + * appdefault.c (conf_yes, conf_no): Now const. + 2003-01-07 Sam Hartman <hartmans@mit.edu> * 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 35b6eb4186..025a037857 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, }; |