const-ize

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3758 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-11-02 04:13:42 +00:00
parent 66ab938c25
commit d5b19415c7
5 changed files with 8 additions and 8 deletions

View File

@@ -41,7 +41,7 @@
RCSID("$Id$");
krb5_error_code
krb5_cc_register(krb5_context context, krb5_cc_ops *ops, int override)
krb5_cc_register(krb5_context context, const krb5_cc_ops *ops, int override)
{
int i;
if(context->cc_ops == NULL){
@@ -110,7 +110,7 @@ krb5_cc_resolve(krb5_context context,
krb5_error_code
krb5_cc_gen_new(krb5_context context,
krb5_cc_ops *ops,
const krb5_cc_ops *ops,
krb5_ccache *id)
{
krb5_ccache p;
@@ -118,7 +118,7 @@ krb5_cc_gen_new(krb5_context context,
p = malloc (sizeof(*p));
if (p == NULL)
return KRB5_CC_NOMEM;
p->ops = ops;
p->ops = (krb5_cc_ops *)ops;
*id = p;
return p->ops->gen_new(context, id);
}