const-ize

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7130 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-10-10 04:55:28 +00:00
parent 41d5fed9f9
commit a74d27d3d7
16 changed files with 97 additions and 82 deletions

View File

@@ -98,7 +98,7 @@ allocate_ccache (krb5_context context,
p = malloc(sizeof(*p));
if(p == NULL)
return KRB5_CC_NOMEM;
p->ops = (krb5_cc_ops *)ops;
p->ops = ops;
*id = p;
ret = p->ops->resolve(context, id, residual);
if(ret)
@@ -150,7 +150,7 @@ krb5_cc_gen_new(krb5_context context,
p = malloc (sizeof(*p));
if (p == NULL)
return KRB5_CC_NOMEM;
p->ops = (krb5_cc_ops *)ops;
p->ops = ops;
*id = p;
return p->ops->gen_new(context, id);
}