From fe7af2a64a45687e8bc7cbebe1317e9de1681293 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 8 Jan 2003 03:45:50 +0000 Subject: [PATCH] * appdefault.c (conf_yes, conf_no): Now const git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15093 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/ChangeLog | 4 ++++ 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 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, }; -- 2.26.2