* appdefault.c (conf_yes, conf_no): Now const
authorKen Raeburn <raeburn@mit.edu>
Wed, 8 Jan 2003 03:45:50 +0000 (03:45 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 8 Jan 2003 03:45:50 +0000 (03:45 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15093 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/appdefault.c

index b3fb0ddec2aa7ecf3a7755cdaba7b7e1ae8a85ae..932528a7d2690e55d1024271f206cc069c4f04e9 100644 (file)
@@ -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
index 35b6eb41861682dbda95d41f162846dcde140ff4..025a037857a2ccdd965ef5f4026553b15078d709 100644 (file)
 
 
  /*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,
 };