diff options
author | Ezra Peisach <epeisach@mit.edu> | 2002-06-26 17:31:21 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 2002-06-26 17:31:21 +0000 |
commit | 6c3b5028ae243b6afbfe96547d08581c4894ce6b (patch) | |
tree | 8e7a8a57db607291914e36c2112386c6d144c602 /src | |
parent | 1e63714956525a6dad074e99a32149bdaebe4819 (diff) | |
download | krb5-6c3b5028ae243b6afbfe96547d08581c4894ce6b.tar.gz krb5-6c3b5028ae243b6afbfe96547d08581c4894ce6b.tar.xz krb5-6c3b5028ae243b6afbfe96547d08581c4894ce6b.zip |
* 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
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14586 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/krb5/krb/ChangeLog | 7 | ||||
-rw-r--r-- | src/lib/krb5/krb/appdefault.c | 2 | ||||
-rw-r--r-- | src/lib/krb5/krb/get_in_tkt.c | 2 |
3 files changed, 9 insertions, 2 deletions
diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index ba3eda6908..0406fc87f4 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -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 diff --git a/src/lib/krb5/krb/appdefault.c b/src/lib/krb5/krb/appdefault.c index 5cc73cc915..3f92162284 100644 --- a/src/lib/krb5/krb/appdefault.c +++ b/src/lib/krb5/krb/appdefault.c @@ -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; diff --git a/src/lib/krb5/krb/get_in_tkt.c b/src/lib/krb5/krb/get_in_tkt.c index 8a08ed72a0..81aaf14c9d 100644 --- a/src/lib/krb5/krb/get_in_tkt.c +++ b/src/lib/krb5/krb/get_in_tkt.c @@ -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)) |