From: Greg Hudson Date: Tue, 23 Nov 2010 04:50:40 +0000 (+0000) Subject: Add missing KRB5_CALLCONV in callback declaration X-Git-Tag: krb5-1.10-alpha1~650 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=aedd1fea8405d857c072fb41f2d38db9df31c70d;p=krb5.git Add missing KRB5_CALLCONV in callback declaration krb5_get_init_creds_opt_set_expire_callback was correctly tagged with KRB5_CALLCONV but the corresponding callback type was not. Add that in. ticket: 6825 target_version: 1.9 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24529 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/krb5/krb5.hin b/src/include/krb5/krb5.hin index e04cf3b11..51d7d728d 100644 --- a/src/include/krb5/krb5.hin +++ b/src/include/krb5/krb5.hin @@ -2381,10 +2381,10 @@ krb5_get_init_creds_opt_get_fast_flags(krb5_context context, #define KRB5_FAST_REQUIRED 1l<<0 /*!< Require KDC to support FAST*/ typedef void -krb5_expire_callback_func(krb5_context context, void *data, - krb5_timestamp password_expiration, - krb5_timestamp account_expiration, - krb5_boolean is_last_req); +(KRB5_CALLCONV *krb5_expire_callback_func)(krb5_context context, void *data, + krb5_timestamp password_expiration, + krb5_timestamp account_expiration, + krb5_boolean is_last_req); /** * Set a callback to receive password and account expiration times.