From: Ezra Peisach Date: Tue, 23 Jan 2007 20:17:08 +0000 (+0000) Subject: Change second argument to krb5_cc_register to take a const krb5_cc_ops *. Makes X-Git-Tag: krb5-1.7-alpha1~1319 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a85dfd3f716ba84d7923defdc82947e2fceadbe6;p=krb5.git Change second argument to krb5_cc_register to take a const krb5_cc_ops *. Makes sense - when krb5_Xcc_ops currently defined as such - and assignment of value assumes same. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19106 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/k5-int.h b/src/include/k5-int.h index afad806e1..ac4bb62d2 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -2316,7 +2316,7 @@ krb5_error_code krb5_rd_req_decoded_anyflag krb5_ticket **); krb5_error_code KRB5_CALLCONV krb5_cc_register (krb5_context, - krb5_cc_ops *, + const krb5_cc_ops *, krb5_boolean ); krb5_error_code krb5_walk_realm_tree (krb5_context, diff --git a/src/lib/krb5/ccache/ccbase.c b/src/lib/krb5/ccache/ccbase.c index c2084c554..e41573adf 100644 --- a/src/lib/krb5/ccache/ccbase.c +++ b/src/lib/krb5/ccache/ccbase.c @@ -132,7 +132,8 @@ krb5int_cc_finalize(void) */ krb5_error_code KRB5_CALLCONV -krb5_cc_register(krb5_context context, krb5_cc_ops *ops, krb5_boolean override) +krb5_cc_register(krb5_context context, const krb5_cc_ops *ops, + krb5_boolean override) { struct krb5_cc_typelist *t; krb5_error_code err;