aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2010-11-23 04:50:40 +0000
committerGreg Hudson <ghudson@mit.edu>2010-11-23 04:50:40 +0000
commitaedd1fea8405d857c072fb41f2d38db9df31c70d (patch)
tree540d67b1cbc09e508bf378268f3bc1c2f713a4ec
parent9f6320bf1c8d8a2bb8ccac2a7536132414aa3b68 (diff)
downloadkrb5-aedd1fea8405d857c072fb41f2d38db9df31c70d.zip
krb5-aedd1fea8405d857c072fb41f2d38db9df31c70d.tar.gz
krb5-aedd1fea8405d857c072fb41f2d38db9df31c70d.tar.bz2
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
-rw-r--r--src/include/krb5/krb5.hin8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/krb5/krb5.hin b/src/include/krb5/krb5.hin
index e04cf3b..51d7d72 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.