Windows fixes: add KRB5_CALLCONV where needed
authorSam Hartman <hartmans@mit.edu>
Wed, 28 Sep 2011 20:56:30 +0000 (20:56 +0000)
committerSam Hartman <hartmans@mit.edu>
Wed, 28 Sep 2011 20:56:30 +0000 (20:56 +0000)
Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25269 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/gssapi/krb5/accept_sec_context.c
src/lib/krb5/ccache/cccursor.c
src/lib/krb5/os/trace.c

index a41968ed8d60403407df1813f8e940341f3d1505..40dfa8bd26604436899f79007cb08b94256d2fdb 100644 (file)
@@ -1295,7 +1295,7 @@ done:
 }
 #endif /* LEAN_CLIENT */
 
-OM_uint32
+OM_uint32 KRB5_CALLCONV
 krb5_gss_accept_sec_context_ext(
     OM_uint32 *minor_status,
     gss_ctx_id_t *context_handle,
index 23681f99f1a8343d21e462dc2928669038ee7120..9f366ce060b56c2581d92a88a8bb4ec1193583ec 100644 (file)
@@ -175,7 +175,7 @@ krb5_cccol_last_change_time(krb5_context context,
  * krb5_cccol_lock and krb5_cccol_unlock are defined in ccbase.c
  */
 
-krb5_error_code
+krb5_error_code KRB5_CALLCONV
 krb5_cc_cache_match(krb5_context context, krb5_principal client,
                     krb5_ccache *cache_out)
 {
index a31b0059fb8576290796d97bcf328912542b69c2..36aad31faedae5b78e32680e227c58e9dcf57bd1 100644 (file)
@@ -313,7 +313,7 @@ krb5_set_trace_callback(krb5_context context, krb5_trace_callback fn,
     return 0;
 }
 
-static void
+static void KRB5_CALLCONV
 file_trace_cb(krb5_context context, const struct krb5_trace_info *info, void *data)
 {
     int *fd = data;