* appdefault.c (conf_boolean): Change variable from char ** to
authorEzra Peisach <epeisach@mit.edu>
Wed, 26 Jun 2002 17:31:21 +0000 (17:31 +0000)
committerEzra Peisach <epeisach@mit.edu>
Wed, 26 Jun 2002 17:31:21 +0000 (17:31 +0000)
const char ** to prevent warning of const to non-const.

* get_in_tkt.c (_krb5_conf_boolean): Same

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14586 dc483132-0cff-0310-8789-dd5450dbe970

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

index ba3eda6908d3dcfcc5d11ee109b8e90a33d25571..0406fc87f4a4ba77c802a203e63ee384e0facd12 100644 (file)
@@ -1,3 +1,10 @@
+2002-06-26  Ezra Peisach  <epeisach@bu.edu>
+
+       * appdefault.c (conf_boolean): Change variable from char ** to
+       const char ** to prevent warning of const to non-const.
+       
+       * get_in_tkt.c (_krb5_conf_boolean): Same
+
 2002-06-25  Alexandra Ellwood <lxs@mit.edu>
 
        * appdefault.c, get_in_tkt.c: made conf_yes and conf_no const to 
index 5cc73cc915c6e4019b66b110f6382085f939d1c2..3f92162284c140274922950353c629a0970665bf 100644 (file)
@@ -23,7 +23,7 @@ static const char *conf_no[] = {
 static int conf_boolean(s)
        char *s;
 {
-       char **p;
+       const char **p;
        for(p=conf_yes; *p; p++) {
                if (!strcasecmp(*p,s))
                        return 1;
index 8a08ed72a0a77b6a07a06c3eec676d1f78f624ca..81aaf14c9dcaa08cc3bbfb970f6c57e9d773354c 100644 (file)
@@ -614,7 +614,7 @@ int
 _krb5_conf_boolean(s)
      const char *s;
 {
-    char **p;
+    const char **p;
 
     for(p=conf_yes; *p; p++) {
        if (!strcasecmp(*p,s))