Fix style issues in r25087
authorGreg Hudson <ghudson@mit.edu>
Mon, 29 Aug 2011 17:20:37 +0000 (17:20 +0000)
committerGreg Hudson <ghudson@mit.edu>
Mon, 29 Aug 2011 17:20:37 +0000 (17:20 +0000)
* Function names should be at the beginning of lines in definitions.
* Changes should not create lines >79 characters.
* Continuation lines should align after left parens when appropriate.

Also, krb5_gss_accept_sec_context_ext and acquire_accept_cred are
not gss mechanism functions and should not have been tagged.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25116 dc483132-0cff-0310-8789-dd5450dbe970

37 files changed:
src/lib/gssapi/krb5/accept_sec_context.c
src/lib/gssapi/krb5/acquire_cred.c
src/lib/gssapi/krb5/compare_name.c
src/lib/gssapi/krb5/context_time.c
src/lib/gssapi/krb5/delete_sec_context.c
src/lib/gssapi/krb5/disp_name.c
src/lib/gssapi/krb5/disp_status.c
src/lib/gssapi/krb5/duplicate_name.c
src/lib/gssapi/krb5/export_name.c
src/lib/gssapi/krb5/export_sec_context.c
src/lib/gssapi/krb5/gssapiP_krb5.h
src/lib/gssapi/krb5/gssapi_krb5.c
src/lib/gssapi/krb5/iakerb.c
src/lib/gssapi/krb5/import_name.c
src/lib/gssapi/krb5/import_sec_context.c
src/lib/gssapi/krb5/indicate_mechs.c
src/lib/gssapi/krb5/init_sec_context.c
src/lib/gssapi/krb5/inq_context.c
src/lib/gssapi/krb5/inq_cred.c
src/lib/gssapi/krb5/inq_names.c
src/lib/gssapi/krb5/k5seal.c
src/lib/gssapi/krb5/k5sealiov.c
src/lib/gssapi/krb5/k5unseal.c
src/lib/gssapi/krb5/k5unsealiov.c
src/lib/gssapi/krb5/naming_exts.c
src/lib/gssapi/krb5/prf.c
src/lib/gssapi/krb5/process_context_token.c
src/lib/gssapi/krb5/rel_cred.c
src/lib/gssapi/krb5/rel_name.c
src/lib/gssapi/krb5/rel_oid.c
src/lib/gssapi/krb5/s4u_gss_glue.c
src/lib/gssapi/krb5/store_cred.c
src/lib/gssapi/krb5/wrap_size_limit.c
src/lib/gssapi/mechglue/g_authorize_localname.c
src/lib/gssapi/mechglue/mglueP.h
src/lib/gssapi/spnego/gssapiP_spnego.h
src/lib/gssapi/spnego/spnego_mech.c

index ef2316e60aa29327f939beba843ab919c8942252..3d4158163af67789fa01c606bf47be28263e205d 100644 (file)
@@ -1296,7 +1296,7 @@ done:
 #endif /* LEAN_CLIENT */
 
 OM_uint32
-KRB5_CALLCONV krb5_gss_accept_sec_context_ext(
+krb5_gss_accept_sec_context_ext(
     OM_uint32 *minor_status,
     gss_ctx_id_t *context_handle,
     gss_cred_id_t verifier_cred_handle,
@@ -1339,8 +1339,8 @@ KRB5_CALLCONV krb5_gss_accept_sec_context_ext(
                           delegated_cred_handle, exts);
 }
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_accept_sec_context(minor_status, context_handle,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_accept_sec_context(minor_status, context_handle,
                             verifier_cred_handle, input_token,
                             input_chan_bindings, src_name, mech_type,
                             output_token, ret_flags, time_rec,
index 731a0ab07bbdaed8d04058137329b3f459815412..e71420881e84da8d8eb599a3dbc758d4085c1a10 100644 (file)
@@ -186,7 +186,7 @@ cleanup:
 */
 
 static OM_uint32
-KRB5_CALLCONV acquire_accept_cred(krb5_context context,
+acquire_accept_cred(krb5_context context,
                     OM_uint32 *minor_status,
                     krb5_gss_name_t desired_name,
                     krb5_keytab req_keytab,
@@ -726,8 +726,8 @@ gss_krb5int_set_cred_rcache(OM_uint32 *minor_status,
  * desired_mechs and actual_mechs, so we ignore those parameters.
  */
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_acquire_cred(minor_status, desired_name, time_req,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_acquire_cred(minor_status, desired_name, time_req,
                       desired_mechs, cred_usage, output_cred_handle,
                       actual_mechs, time_rec)
     OM_uint32 *minor_status;
@@ -751,8 +751,8 @@ KRB5_CALLCONV krb5_gss_acquire_cred(minor_status, desired_name, time_req,
     return acquire_cred(minor_status, &args, output_cred_handle, time_rec);
 }
 
-OM_uint32
-KRB5_CALLCONV iakerb_gss_acquire_cred(minor_status, desired_name, time_req,
+OM_uint32 KRB5_CALLCONV
+iakerb_gss_acquire_cred(minor_status, desired_name, time_req,
                         desired_mechs, cred_usage, output_cred_handle,
                         actual_mechs, time_rec)
     OM_uint32 *minor_status;
@@ -776,8 +776,8 @@ KRB5_CALLCONV iakerb_gss_acquire_cred(minor_status, desired_name, time_req,
     return acquire_cred(minor_status, &args, output_cred_handle, time_rec);
 }
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_acquire_cred_with_password(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_acquire_cred_with_password(OM_uint32 *minor_status,
                                     const gss_name_t desired_name,
                                     const gss_buffer_t password,
                                     OM_uint32 time_req,
@@ -800,8 +800,8 @@ KRB5_CALLCONV krb5_gss_acquire_cred_with_password(OM_uint32 *minor_status,
     return acquire_cred(minor_status, &args, output_cred_handle, time_rec);
 }
 
-OM_uint32
-KRB5_CALLCONV iakerb_gss_acquire_cred_with_password(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+iakerb_gss_acquire_cred_with_password(OM_uint32 *minor_status,
                                       const gss_name_t desired_name,
                                       const gss_buffer_t password,
                                       OM_uint32 time_req,
index 0ea0e671f9e153d56eac05463123e35a0419506b..3f3788d2bf1ca06f6bf718b954d6b0fc0604c002 100644 (file)
@@ -27,8 +27,8 @@
 
 #include "gssapiP_krb5.h"
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_compare_name(minor_status, name1, name2, name_equal)
+OM_uint32 KRB5_CALLCONV
+krb5_gss_compare_name(minor_status, name1, name2, name_equal)
     OM_uint32 *minor_status;
     gss_name_t name1;
     gss_name_t name2;
index 5c68ff20d094a9fdf61fe882481e9d31907ce047..b3d1db00759939fb5305deaf3775f9dad4512ca4 100644 (file)
@@ -27,8 +27,8 @@
  * $Id$
  */
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_context_time(minor_status, context_handle, time_rec)
+OM_uint32 KRB5_CALLCONV
+krb5_gss_context_time(minor_status, context_handle, time_rec)
     OM_uint32 *minor_status;
     gss_ctx_id_t context_handle;
     OM_uint32 *time_rec;
index 36718cad5315be51f2bcf44aebb90e3e774657cf..85db484dcd6fcf2f28f1dd12640ec3edde57e25d 100644 (file)
@@ -27,8 +27,8 @@
  * $Id$
  */
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_delete_sec_context(minor_status, context_handle, output_token)
+OM_uint32 KRB5_CALLCONV
+krb5_gss_delete_sec_context(minor_status, context_handle, output_token)
     OM_uint32 *minor_status;
     gss_ctx_id_t *context_handle;
     gss_buffer_t output_token;
index aeb9baa25b143474c47f38617f6503b4769dd036..6ff25439121644237292e5776f175182ecc8f89a 100644 (file)
@@ -23,8 +23,8 @@
 
 #include "gssapiP_krb5.h"
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_display_name(minor_status, input_name, output_name_buffer,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_display_name(minor_status, input_name, output_name_buffer,
                       output_name_type)
     OM_uint32 *minor_status;
     gss_name_t input_name;
index c654011ebecc272e9c568b7e8f6685575b155723..cb440b4394df18f6d7a9bcead2f059aa119caa68 100644 (file)
@@ -153,8 +153,8 @@ void krb5_gss_delete_error_info(void *p)
 
 /**/
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_display_status(minor_status, status_value, status_type,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_display_status(minor_status, status_value, status_type,
                         mech_type, message_context, status_string)
     OM_uint32 *minor_status;
     OM_uint32 status_value;
index e3a1a383fd1ebf51394d07a69d4c52fbd06d856d..b88d97d9d6170da7ac1dabcfb18be2d223c02efd 100644 (file)
@@ -26,9 +26,9 @@
 
 #include "gssapiP_krb5.h"
 
-OM_uint32 KRB5_CALLCONV krb5_gss_duplicate_name(OM_uint32  *minor_status,
-                                  const gss_name_t input_name,
-                                  gss_name_t *dest_name)
+OM_uint32 KRB5_CALLCONV
+krb5_gss_duplicate_name(OM_uint32 *minor_status, const gss_name_t input_name,
+                        gss_name_t *dest_name)
 {
     krb5_context context;
     krb5_error_code code;
index 9029e595cd2c28f4405eadf1f8c429b9d9172474..55c9e8358acc2cf036f814a6a838f06f66e4945b 100644 (file)
@@ -26,9 +26,9 @@
 
 #include "gssapiP_krb5.h"
 
-OM_uint32 KRB5_CALLCONV krb5_gss_export_name(OM_uint32  *minor_status,
-                               const gss_name_t input_name,
-                               gss_buffer_t exported_name)
+OM_uint32 KRB5_CALLCONV
+krb5_gss_export_name(OM_uint32 *minor_status, const gss_name_t input_name,
+                     gss_buffer_t exported_name)
 {
     krb5_context context;
     krb5_error_code code;
index 2bf273f5b80d078568ad8a3ed4ebe9384df449bf..cdd20bd91ff570335f171642dcaae4a8ce1fcb7f 100644 (file)
@@ -26,8 +26,8 @@
 
 #include "gssapiP_krb5.h"
 #ifndef LEAN_CLIENT
-OM_uint32
-KRB5_CALLCONV krb5_gss_export_sec_context(minor_status, context_handle, interprocess_token)
+OM_uint32 KRB5_CALLCONV
+krb5_gss_export_sec_context(minor_status, context_handle, interprocess_token)
     OM_uint32           *minor_status;
     gss_ctx_id_t        *context_handle;
     gss_buffer_t        interprocess_token;
index 6d6f89b37a68c1cefa160257f6ac642ff8c4ef3f..f7aab88b82d055b2dad86755f2af921cce3112e5 100644 (file)
@@ -480,8 +480,7 @@ krb5_to_gss_cred(krb5_context context,
 
 /** declarations of internal name mechanism functions **/
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_acquire_cred
+OM_uint32 KRB5_CALLCONV krb5_gss_acquire_cred
 (OM_uint32*,       /* minor_status */
  gss_name_t,       /* desired_name */
  OM_uint32,        /* time_req */
@@ -492,8 +491,7 @@ KRB5_CALLCONV krb5_gss_acquire_cred
  OM_uint32*        /* time_rec */
 );
 
-OM_uint32
-KRB5_CALLCONV iakerb_gss_acquire_cred
+OM_uint32 KRB5_CALLCONV iakerb_gss_acquire_cred
 (OM_uint32*,       /* minor_status */
  gss_name_t,       /* desired_name */
  OM_uint32,        /* time_req */
@@ -504,8 +502,8 @@ KRB5_CALLCONV iakerb_gss_acquire_cred
  OM_uint32*        /* time_rec */
 );
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_acquire_cred_with_password(
+OM_uint32 KRB5_CALLCONV
+krb5_gss_acquire_cred_with_password(
     OM_uint32 *minor_status,
     const gss_name_t desired_name,
     const gss_buffer_t password,
@@ -516,8 +514,8 @@ KRB5_CALLCONV krb5_gss_acquire_cred_with_password(
     gss_OID_set *actual_mechs,
     OM_uint32 *time_rec);
 
-OM_uint32
-KRB5_CALLCONV iakerb_gss_acquire_cred_with_password(
+OM_uint32 KRB5_CALLCONV
+iakerb_gss_acquire_cred_with_password(
     OM_uint32 *minor_status,
     const gss_name_t desired_name,
     const gss_buffer_t password,
@@ -528,8 +526,7 @@ KRB5_CALLCONV iakerb_gss_acquire_cred_with_password(
     gss_OID_set *actual_mechs,
     OM_uint32 *time_rec);
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_release_cred
+OM_uint32 KRB5_CALLCONV krb5_gss_release_cred
 (OM_uint32*,       /* minor_status */
  gss_cred_id_t*    /* cred_handle */
 );
@@ -719,8 +716,7 @@ OM_uint32 KRB5_CALLCONV krb5_gss_wrap_iov
  int                        /* iov_count */
 );
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_wrap_iov_length
+OM_uint32 KRB5_CALLCONV krb5_gss_wrap_iov_length
 (OM_uint32 *,           /* minor_status */
  gss_ctx_id_t,              /* context_handle */
  int,                       /* conf_req_flag */
@@ -895,21 +891,21 @@ krb5_boolean
 kg_acceptor_princ(krb5_context context, krb5_gss_name_t name,
                   krb5_principal *princ_out);
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_display_name_ext(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_display_name_ext(OM_uint32 *minor_status,
                           gss_name_t name,
                           gss_OID display_as_name_type,
                           gss_buffer_t display_name);
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_inquire_name(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_inquire_name(OM_uint32 *minor_status,
                       gss_name_t name,
                       int *name_is_MN,
                       gss_OID *MN_mech,
                       gss_buffer_set_t *attrs);
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_get_name_attribute(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_get_name_attribute(OM_uint32 *minor_status,
                             gss_name_t name,
                             gss_buffer_t attr,
                             int *authenticated,
@@ -918,46 +914,46 @@ KRB5_CALLCONV krb5_gss_get_name_attribute(OM_uint32 *minor_status,
                             gss_buffer_t display_value,
                             int *more);
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_set_name_attribute(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_set_name_attribute(OM_uint32 *minor_status,
                             gss_name_t name,
                             int complete,
                             gss_buffer_t attr,
                             gss_buffer_t value);
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_delete_name_attribute(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_delete_name_attribute(OM_uint32 *minor_status,
                                gss_name_t name,
                                gss_buffer_t attr);
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_export_name_composite(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_export_name_composite(OM_uint32 *minor_status,
                                gss_name_t name,
                                gss_buffer_t exp_composite_name);
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_map_name_to_any(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_map_name_to_any(OM_uint32 *minor_status,
                          gss_name_t name,
                          int authenticated,
                          gss_buffer_t type_id,
                          gss_any_t *output);
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_release_any_name_mapping(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_release_any_name_mapping(OM_uint32 *minor_status,
                                   gss_name_t name,
                                   gss_buffer_t type_id,
                                   gss_any_t *input);
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_pseudo_random(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_pseudo_random(OM_uint32 *minor_status,
                        gss_ctx_id_t context,
                        int prf_key,
                        const gss_buffer_t prf_in,
                        ssize_t desired_output_len,
                        gss_buffer_t prf_out);
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_store_cred(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_store_cred(OM_uint32 *minor_status,
                     gss_cred_id_t input_cred_handle,
                     gss_cred_usage_t cred_usage,
                     const gss_OID desired_mech,
@@ -1141,8 +1137,8 @@ extern void krb5_gss_delete_error_info(void *p);
 
 /* IAKERB */
 
-OM_uint32
-KRB5_CALLCONV iakerb_gss_init_sec_context(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+iakerb_gss_init_sec_context(OM_uint32 *minor_status,
                             gss_cred_id_t claimant_cred_handle,
                             gss_ctx_id_t *context_handle,
                             gss_name_t target_name,
@@ -1156,8 +1152,8 @@ KRB5_CALLCONV iakerb_gss_init_sec_context(OM_uint32 *minor_status,
                             OM_uint32 *ret_flags,
                             OM_uint32 *time_rec);
 
-OM_uint32
-KRB5_CALLCONV iakerb_gss_accept_sec_context(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+iakerb_gss_accept_sec_context(OM_uint32 *minor_status,
                               gss_ctx_id_t *context_handler,
                               gss_cred_id_t verifier_cred_handle,
                               gss_buffer_t input_token,
@@ -1169,8 +1165,8 @@ KRB5_CALLCONV iakerb_gss_accept_sec_context(OM_uint32 *minor_status,
                               OM_uint32 *time_rec,
                               gss_cred_id_t *delegated_cred_handle);
 
-OM_uint32
-KRB5_CALLCONV iakerb_gss_delete_sec_context(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+iakerb_gss_delete_sec_context(OM_uint32 *minor_status,
                               gss_ctx_id_t *context_handle,
                               gss_buffer_t output_token);
 
index 87b642b1e1972e10a6e39cae64195d6d32eb7c3b..8dccc60d08c62c18d6274fa6bee86326f75785f2 100644 (file)
@@ -345,8 +345,8 @@ static struct {
     }
 };
 
-static OM_uint32
-KRB5_CALLCONV krb5_gss_inquire_sec_context_by_oid (OM_uint32 *minor_status,
+static OM_uint32 KRB5_CALLCONV
+krb5_gss_inquire_sec_context_by_oid (OM_uint32 *minor_status,
                                      const gss_ctx_id_t context_handle,
                                      const gss_OID desired_object,
                                      gss_buffer_set_t *data_set)
@@ -398,8 +398,8 @@ static struct {
 };
 #endif
 
-static OM_uint32
-KRB5_CALLCONV krb5_gss_inquire_cred_by_oid(OM_uint32 *minor_status,
+static OM_uint32 KRB5_CALLCONV
+krb5_gss_inquire_cred_by_oid(OM_uint32 *minor_status,
                              const gss_cred_id_t cred_handle,
                              const gss_OID desired_object,
                              gss_buffer_set_t *data_set)
@@ -462,8 +462,8 @@ static struct {
 };
 #endif
 
-static OM_uint32
-KRB5_CALLCONV krb5_gss_set_sec_context_option (OM_uint32 *minor_status,
+static OM_uint32 KRB5_CALLCONV
+krb5_gss_set_sec_context_option (OM_uint32 *minor_status,
                                  gss_ctx_id_t *context_handle,
                                  const gss_OID desired_object,
                                  const gss_buffer_t value)
@@ -525,8 +525,8 @@ static struct {
     },
 };
 
-static OM_uint32
-KRB5_CALLCONV krb5_gssspi_set_cred_option(OM_uint32 *minor_status,
+static OM_uint32 KRB5_CALLCONV
+krb5_gssspi_set_cred_option(OM_uint32 *minor_status,
                             gss_cred_id_t *cred_handle,
                             const gss_OID desired_object,
                             const gss_buffer_t value)
@@ -593,8 +593,8 @@ static struct {
 #endif
 };
 
-static OM_uint32
-KRB5_CALLCONV krb5_gssspi_mech_invoke (OM_uint32 *minor_status,
+static OM_uint32 KRB5_CALLCONV
+krb5_gssspi_mech_invoke (OM_uint32 *minor_status,
                          const gss_OID desired_mech,
                          const gss_OID desired_object,
                          gss_buffer_t value)
@@ -633,8 +633,8 @@ KRB5_CALLCONV krb5_gssspi_mech_invoke (OM_uint32 *minor_status,
 #define GS2_IAKERB_SASL_NAME      "GS2-IAKERB"
 #define GS2_IAKERB_SASL_NAME_LEN  (sizeof(GS2_IAKERB_SASL_NAME) - 1)
 
-static OM_uint32
-KRB5_CALLCONV krb5_gss_inquire_mech_for_saslname(OM_uint32 *minor_status,
+static OM_uint32 KRB5_CALLCONV
+krb5_gss_inquire_mech_for_saslname(OM_uint32 *minor_status,
                                    const gss_buffer_t sasl_mech_name,
                                    gss_OID *mech_type)
 {
@@ -657,8 +657,8 @@ KRB5_CALLCONV krb5_gss_inquire_mech_for_saslname(OM_uint32 *minor_status,
     return GSS_S_BAD_MECH;
 }
 
-static OM_uint32
-KRB5_CALLCONV krb5_gss_inquire_saslname_for_mech(OM_uint32 *minor_status,
+static OM_uint32 KRB5_CALLCONV
+krb5_gss_inquire_saslname_for_mech(OM_uint32 *minor_status,
                                    const gss_OID desired_mech,
                                    gss_buffer_t sasl_mech_name,
                                    gss_buffer_t mech_name,
@@ -686,8 +686,8 @@ fail:
     return GSS_S_FAILURE;
 }
 
-static OM_uint32
-KRB5_CALLCONV krb5_gss_inquire_attrs_for_mech(OM_uint32 *minor_status,
+static OM_uint32 KRB5_CALLCONV
+krb5_gss_inquire_attrs_for_mech(OM_uint32 *minor_status,
                                 gss_const_OID mech,
                                 gss_OID_set *mech_attrs,
                                 gss_OID_set *known_mech_attrs)
@@ -738,8 +738,8 @@ cleanup:
 }
 
 #ifndef NO_PASSWORD
-static OM_uint32
-KRB5_CALLCONV krb5_gss_pname_to_uid(OM_uint32 *minor,
+static OM_uint32 KRB5_CALLCONV
+krb5_gss_pname_to_uid(OM_uint32 *minor,
                       const gss_name_t pname,
                       const gss_OID mech_type,
                       uid_t *uid)
@@ -778,8 +778,8 @@ KRB5_CALLCONV krb5_gss_pname_to_uid(OM_uint32 *minor,
 }
 #endif /* !NO_PASSWORD */
 
-static OM_uint32
-KRB5_CALLCONV krb5_gss_authorize_localname(OM_uint32 *minor,
+static OM_uint32 KRB5_CALLCONV
+krb5_gss_authorize_localname(OM_uint32 *minor,
                              const gss_name_t pname,
                              gss_const_buffer_t local_user,
                              gss_const_OID name_type)
index 576f340990ac9619515aa8d1126fd35267702eca..e0aede9fb2d94e928909f2410d6a4558342d57c5 100644 (file)
@@ -732,8 +732,8 @@ cleanup:
  * Delete an IAKERB context. This can also accept Kerberos context
  * handles. The heuristic is similar to SPNEGO's delete_sec_context.
  */
-OM_uint32
-KRB5_CALLCONV iakerb_gss_delete_sec_context(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+iakerb_gss_delete_sec_context(OM_uint32 *minor_status,
                               gss_ctx_id_t *context_handle,
                               gss_buffer_t output_token)
 {
@@ -788,8 +788,8 @@ iakerb_make_exts(iakerb_ctx_id_t ctx, krb5_gss_ctx_ext_rec *exts)
         exts->iakerb.conv = &ctx->conv;
 }
 
-OM_uint32
-KRB5_CALLCONV iakerb_gss_accept_sec_context(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+iakerb_gss_accept_sec_context(OM_uint32 *minor_status,
                               gss_ctx_id_t *context_handle,
                               gss_cred_id_t verifier_cred_handle,
                               gss_buffer_t input_token,
@@ -878,8 +878,8 @@ cleanup:
     return major_status;
 }
 
-OM_uint32
-KRB5_CALLCONV iakerb_gss_init_sec_context(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+iakerb_gss_init_sec_context(OM_uint32 *minor_status,
                             gss_cred_id_t claimant_cred_handle,
                             gss_ctx_id_t *context_handle,
                             gss_name_t target_name,
index 34017e312a410567205b62b1a7c0879adadb600e..7583be72d27ba85445102b3c50bdbceb86be7033 100644 (file)
@@ -116,8 +116,8 @@ parse_hostbased(const char *str, size_t len,
     return 0;
 }
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_import_name(minor_status, input_name_buffer,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_import_name(minor_status, input_name_buffer,
                      input_name_type, output_name)
     OM_uint32 *minor_status;
     gss_buffer_t input_name_buffer;
index 1202f5c83c1de2ec0be4ae77f61d40bf5595e7d5..4190adf35cab5a711ee19556d8b141b48e7935fc 100644 (file)
@@ -64,8 +64,8 @@ krb5_gss_ser_init (krb5_context context)
     return 0;
 }
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_import_sec_context(minor_status, interprocess_token, context_handle)
+OM_uint32 KRB5_CALLCONV
+krb5_gss_import_sec_context(minor_status, interprocess_token, context_handle)
     OM_uint32           *minor_status;
     gss_buffer_t        interprocess_token;
     gss_ctx_id_t        *context_handle;
index 32a1e7c1e97492bda1ecbec4badb62663e8c36b6..4bd1fd6973a27d3859b906cc434a4c7570192559 100644 (file)
@@ -28,8 +28,8 @@
 #include "gssapiP_krb5.h"
 #include "mglueP.h"
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_indicate_mechs(minor_status, mech_set)
+OM_uint32 KRB5_CALLCONV
+krb5_gss_indicate_mechs(minor_status, mech_set)
     OM_uint32 *minor_status;
     gss_OID_set *mech_set;
 {
index 9ec4f1fae4aa97cce2410d7125292bd53b79e241..ea00c22af16a47cfa4f0fbd3f65efd2235bd94c5 100644 (file)
@@ -1096,8 +1096,8 @@ krb5int_gss_use_kdc_context(OM_uint32 *minor_status,
 }
 #endif
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_init_sec_context(minor_status, claimant_cred_handle,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_init_sec_context(minor_status, claimant_cred_handle,
                           context_handle, target_name, mech_type,
                           req_flags, time_req, input_chan_bindings,
                           input_token, actual_mech_type, output_token,
index abcf91a2ef8c463b432d13780d541efbc95ca7f6..eacb0fd378aea2cbec7849f7c38b98418662102b 100644 (file)
@@ -77,8 +77,8 @@
 
 #include "gssapiP_krb5.h"
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_inquire_context(minor_status, context_handle, initiator_name,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_inquire_context(minor_status, context_handle, initiator_name,
                          acceptor_name, lifetime_rec, mech_type, ret_flags,
                          locally_initiated, opened)
     OM_uint32 *minor_status;
index 9366a5f753d0f9caf0c2368e9ed5c84452a55e37..cc24e7a90388d14384894cde7c55696d737c5153 100644 (file)
@@ -72,8 +72,8 @@
 
 #include "gssapiP_krb5.h"
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_inquire_cred(minor_status, cred_handle, name, lifetime_ret,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_inquire_cred(minor_status, cred_handle, name, lifetime_ret,
                       cred_usage, mechanisms)
     OM_uint32 *minor_status;
     gss_cred_id_t cred_handle;
@@ -220,8 +220,8 @@ fail:
 }
 
 /* V2 interface */
-OM_uint32
-KRB5_CALLCONV krb5_gss_inquire_cred_by_mech(minor_status, cred_handle,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_inquire_cred_by_mech(minor_status, cred_handle,
                               mech_type, name, initiator_lifetime,
                               acceptor_lifetime, cred_usage)
     OM_uint32           *minor_status;
index 37fd29f2b54be41d822538149f038c3fd74036a7..9cc43500f4d59f48186fd700093927724af06f78 100644 (file)
@@ -26,8 +26,8 @@
 
 #include "gssapiP_krb5.h"
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_inquire_names_for_mech(minor_status, mechanism, name_types)
+OM_uint32 KRB5_CALLCONV
+krb5_gss_inquire_names_for_mech(minor_status, mechanism, name_types)
     OM_uint32   *minor_status;
     gss_OID     mechanism;
     gss_OID_set *name_types;
index e06d454e79e4f8b877584c4b9d28a3fa4dcf16d5..ad2a3cf9b8d44aaab60e095d5070561012df4fe4 100644 (file)
@@ -387,8 +387,8 @@ kg_seal(minor_status, context_handle, conf_req_flag, qop_req,
     return(GSS_S_COMPLETE);
 }
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_wrap(minor_status, context_handle, conf_req_flag,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_wrap(minor_status, context_handle, conf_req_flag,
               qop_req, input_message_buffer, conf_state,
               output_message_buffer)
     OM_uint32           *minor_status;
@@ -404,8 +404,8 @@ KRB5_CALLCONV krb5_gss_wrap(minor_status, context_handle, conf_req_flag,
                    output_message_buffer, KG_TOK_WRAP_MSG));
 }
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_get_mic(minor_status, context_handle, qop_req,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_get_mic(minor_status, context_handle, qop_req,
                  message_buffer, message_token)
     OM_uint32           *minor_status;
     gss_ctx_id_t        context_handle;
index 291661c990b1511b858ddaeb864583f9eff424fa..3dafd1f5f9b98b828863c8f1097e3459c7fcfd6a 100644 (file)
@@ -490,8 +490,8 @@ kg_seal_iov_length(OM_uint32 *minor_status,
     return GSS_S_COMPLETE;
 }
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_wrap_iov(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_wrap_iov(OM_uint32 *minor_status,
                   gss_ctx_id_t context_handle,
                   int conf_req_flag,
                   gss_qop_t qop_req,
@@ -508,8 +508,8 @@ KRB5_CALLCONV krb5_gss_wrap_iov(OM_uint32 *minor_status,
     return major_status;
 }
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_wrap_iov_length(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_wrap_iov_length(OM_uint32 *minor_status,
                          gss_ctx_id_t context_handle,
                          int conf_req_flag,
                          gss_qop_t qop_req,
index 31ccf7a95f772907c03dd72debe317a28db24c6b..f864cc5ca3d38f2a1894a5b37b3bbf0534ca56d5 100644 (file)
@@ -545,8 +545,8 @@ kg_unseal(minor_status, context_handle, input_token_buffer,
     return ret;
 }
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_unwrap(minor_status, context_handle,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_unwrap(minor_status, context_handle,
                 input_message_buffer, output_message_buffer,
                 conf_state, qop_state)
     OM_uint32           *minor_status;
@@ -564,8 +564,8 @@ KRB5_CALLCONV krb5_gss_unwrap(minor_status, context_handle,
     return(rstat);
 }
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_verify_mic(minor_status, context_handle,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_verify_mic(minor_status, context_handle,
                     message_buffer, token_buffer,
                     qop_state)
     OM_uint32           *minor_status;
index 2c4da5f23116af00be09301d4c904c09c4d3b228..ec4eae9792e07879588804d3f21821abe96df4bc 100644 (file)
@@ -640,8 +640,8 @@ kg_unseal_iov(OM_uint32 *minor_status,
     return code;
 }
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_unwrap_iov(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_unwrap_iov(OM_uint32 *minor_status,
                     gss_ctx_id_t context_handle,
                     int *conf_state,
                     gss_qop_t *qop_state,
index 0831dc5573bc5a0748c3e7025bdc2f7a1903e360..f6c02e870e276cf6bfd77ad9564eeb1d61246def 100644 (file)
@@ -250,8 +250,8 @@ kg_data_list_to_buffer_set_nocopy(krb5_data **pdata,
     return 0;
 }
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_inquire_name(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_inquire_name(OM_uint32 *minor_status,
                       gss_name_t name,
                       int *name_is_MN,
                       gss_OID *MN_mech,
@@ -307,8 +307,8 @@ cleanup:
     return kg_map_name_error(minor_status, code);
 }
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_get_name_attribute(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_get_name_attribute(OM_uint32 *minor_status,
                             gss_name_t name,
                             gss_buffer_t attr,
                             int *authenticated,
@@ -391,8 +391,8 @@ KRB5_CALLCONV krb5_gss_get_name_attribute(OM_uint32 *minor_status,
     return kg_map_name_error(minor_status, code);
 }
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_set_name_attribute(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_set_name_attribute(OM_uint32 *minor_status,
                             gss_name_t name,
                             int complete,
                             gss_buffer_t attr,
@@ -449,8 +449,8 @@ KRB5_CALLCONV krb5_gss_set_name_attribute(OM_uint32 *minor_status,
     return kg_map_name_error(minor_status, code);
 }
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_delete_name_attribute(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_delete_name_attribute(OM_uint32 *minor_status,
                                gss_name_t name,
                                gss_buffer_t attr)
 {
@@ -499,8 +499,8 @@ KRB5_CALLCONV krb5_gss_delete_name_attribute(OM_uint32 *minor_status,
     return kg_map_name_error(minor_status, code);
 }
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_map_name_to_any(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_map_name_to_any(OM_uint32 *minor_status,
                          gss_name_t name,
                          int authenticated,
                          gss_buffer_t type_id,
@@ -557,8 +557,8 @@ KRB5_CALLCONV krb5_gss_map_name_to_any(OM_uint32 *minor_status,
     return kg_map_name_error(minor_status, code);
 }
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_release_any_name_mapping(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_release_any_name_mapping(OM_uint32 *minor_status,
                                   gss_name_t name,
                                   gss_buffer_t type_id,
                                   gss_any_t *input)
@@ -616,8 +616,8 @@ KRB5_CALLCONV krb5_gss_release_any_name_mapping(OM_uint32 *minor_status,
 
 }
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_export_name_composite(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_export_name_composite(OM_uint32 *minor_status,
                                gss_name_t name,
                                gss_buffer_t exp_composite_name)
 {
index 104016d212c64fb0f0e2a3b7c19fdcbb9012f92c..66cbe7078f0c3d6744efa9b001e1c749f7b9d59a 100644 (file)
@@ -33,8 +33,8 @@
 #define MIN(_a,_b)  ((_a)<(_b)?(_a):(_b))
 #endif
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_pseudo_random(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_pseudo_random(OM_uint32 *minor_status,
                        gss_ctx_id_t context,
                        int prf_key,
                        const gss_buffer_t prf_in,
index 0bf6715c883cfbc52ecc6f27b5e707b3fdbed303..ae33180a7508e45c6e2d0ea1b20ff4319f4cd2b0 100644 (file)
@@ -27,8 +27,8 @@
  * $Id$
  */
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_process_context_token(minor_status, context_handle,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_process_context_token(minor_status, context_handle,
                                token_buffer)
     OM_uint32 *minor_status;
     gss_ctx_id_t context_handle;
index e3d0fb102cfed09d03e212b504645f39a87d58a0..5b2ea2f0ec23ab150dc54e35e82031428e634e7d 100644 (file)
@@ -23,8 +23,8 @@
 
 #include "gssapiP_krb5.h"
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_release_cred(minor_status, cred_handle)
+OM_uint32 KRB5_CALLCONV
+krb5_gss_release_cred(minor_status, cred_handle)
     OM_uint32 *minor_status;
     gss_cred_id_t *cred_handle;
 {
index 69e0ed1f1dba9b632cdd1eacd997133335a5cc56..3dabe32f3342df4d65fa3de58e3ffdf9ca93c74c 100644 (file)
@@ -23,8 +23,8 @@
 
 #include "gssapiP_krb5.h"
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_release_name(minor_status, input_name)
+OM_uint32 KRB5_CALLCONV
+krb5_gss_release_name(minor_status, input_name)
     OM_uint32 *minor_status;
     gss_name_t *input_name;
 {
index d3ba35638de4431307d3048705e52d675cfd2abc..739efe4680b7ff844f4d9e69c3e53cb11acc5bb6 100644 (file)
 
 #include "gssapiP_krb5.h"
 
-OM_uint32 KRB5_CALLCONV krb5_gss_internal_release_oid (OM_uint32 *, /* minor_status */
-                                         gss_OID * /* oid */
-);
-
 OM_uint32
 krb5_gss_release_oid(minor_status, oid)
     OM_uint32   *minor_status;
@@ -55,8 +51,8 @@ krb5_gss_release_oid(minor_status, oid)
     }
 }
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_internal_release_oid(minor_status, oid)
+OM_uint32 KRB5_CALLCONV
+krb5_gss_internal_release_oid(minor_status, oid)
     OM_uint32   *minor_status;
     gss_OID     *oid;
 {
index abb0d80a565a1f4bb85cc64157f57bc4d0e65747..70fbfbce6a1d4d8919b278d673882f625760cad0 100644 (file)
@@ -104,8 +104,8 @@ kg_impersonate_name(OM_uint32 *minor_status,
 }
 
 /* The mechglue always passes null desired_mechs and actual_mechs. */
-OM_uint32
-KRB5_CALLCONV krb5_gss_acquire_cred_impersonate_name(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_acquire_cred_impersonate_name(OM_uint32 *minor_status,
                                        const gss_cred_id_t impersonator_cred_handle,
                                        const gss_name_t desired_name,
                                        OM_uint32 time_req,
index a2d708098edaf564cfd943594dbaf548204f9b01..94cfd432689c1b62b5079ab951b3ca4424cea1e4 100644 (file)
@@ -130,8 +130,8 @@ cleanup:
     return major_status;
 }
 
-OM_uint32
-KRB5_CALLCONV krb5_gss_store_cred(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_store_cred(OM_uint32 *minor_status,
                     gss_cred_id_t input_cred_handle,
                     gss_cred_usage_t cred_usage,
                     const gss_OID desired_mech,
index 9d0bf1cd89986eafda225fa7c99fd05f45b69ab6..7bc4221daf4c20ed0e3c1a67e37f2e0d4a33bea9 100644 (file)
@@ -73,8 +73,8 @@
 #include "gssapiP_krb5.h"
 
 /* V2 interface */
-OM_uint32
-KRB5_CALLCONV krb5_gss_wrap_size_limit(minor_status, context_handle, conf_req_flag,
+OM_uint32 KRB5_CALLCONV
+krb5_gss_wrap_size_limit(minor_status, context_handle, conf_req_flag,
                          qop_req, req_output_size, max_input_size)
     OM_uint32           *minor_status;
     gss_ctx_id_t        context_handle;
index 373332d714456b9362ae86a46302b467fdd8e8dd..0e4fb072292460957215e2aa1eaac15ffde6d876 100644 (file)
@@ -204,8 +204,8 @@ gss_authorize_localname(OM_uint32 *minor,
        return (major);
 }
 
-int
-KRB5_CALLCONV gss_userok(const gss_name_t name,
+int KRB5_CALLCONV
+gss_userok(const gss_name_t name,
           const char *user)
 {
        OM_uint32 major, minor;
index a0b3673f770f3b95cdbda64443094b59925d6585..2a80f19546a0b27672fc93399d7a2cbeb4fe346b 100644 (file)
@@ -76,7 +76,7 @@ typedef struct gss_cred_id_struct {
        gss_union_cred_auxinfo  auxinfo;
 } gss_union_cred_desc, *gss_union_cred_t;
 
-typedef        OM_uint32           (KRB5_CALLCONV *gss_acquire_cred_with_password_sfct)(
+typedef        OM_uint32 (KRB5_CALLCONV *gss_acquire_cred_with_password_sfct)(
                    OM_uint32 *,        /* minor_status */
                    const gss_name_t,   /* desired_name */
                    const gss_buffer_t, /* password */
index c2996a3e602604a7fa470677c388df345e86b6d8..4c1b4beab08308cfb5fee7b7c85a007ecd3ab6a6 100644 (file)
@@ -346,8 +346,8 @@ OM_uint32 KRB5_CALLCONV spnego_gss_verify_mic
        gss_qop_t *qop_state
 );
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_inquire_sec_context_by_oid
+OM_uint32 KRB5_CALLCONV
+spnego_gss_inquire_sec_context_by_oid
 (
        OM_uint32 *minor_status,
        const gss_ctx_id_t context_handle,
@@ -355,8 +355,8 @@ KRB5_CALLCONV spnego_gss_inquire_sec_context_by_oid
        gss_buffer_set_t *data_set
 );
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_inquire_cred_by_oid
+OM_uint32 KRB5_CALLCONV
+spnego_gss_inquire_cred_by_oid
 (
        OM_uint32 *minor_status,
        const gss_cred_id_t cred_handle,
@@ -364,8 +364,8 @@ KRB5_CALLCONV spnego_gss_inquire_cred_by_oid
        gss_buffer_set_t *data_set
 );
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_set_cred_option
+OM_uint32 KRB5_CALLCONV
+spnego_gss_set_cred_option
 (
        OM_uint32 *minor_status,
        gss_cred_id_t *cred_handle,
@@ -373,8 +373,8 @@ KRB5_CALLCONV spnego_gss_set_cred_option
        const gss_buffer_t value
 );
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_set_sec_context_option
+OM_uint32 KRB5_CALLCONV
+spnego_gss_set_sec_context_option
 (
        OM_uint32 *minor_status,
        gss_ctx_id_t *context_handle,
@@ -444,16 +444,16 @@ OM_uint32 KRB5_CALLCONV spnego_gss_wrap_iov_length
        int iov_count
 );
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_complete_auth_token
+OM_uint32 KRB5_CALLCONV
+spnego_gss_complete_auth_token
 (
        OM_uint32 *minor_status,
        const gss_ctx_id_t context_handle,
        gss_buffer_t input_message_buffer
 );
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_acquire_cred_impersonate_name(
+OM_uint32 KRB5_CALLCONV
+spnego_gss_acquire_cred_impersonate_name(
     OM_uint32 *,           /* minor_status */
     const gss_cred_id_t,    /* impersonator_cred_handle */
     const gss_name_t,      /* desired_name */
@@ -464,8 +464,8 @@ KRB5_CALLCONV spnego_gss_acquire_cred_impersonate_name(
     gss_OID_set *,         /* actual_mechs */
     OM_uint32 *);          /* time_rec */
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_acquire_cred_with_password(
+OM_uint32 KRB5_CALLCONV
+spnego_gss_acquire_cred_with_password(
     OM_uint32 *minor_status,
     const gss_name_t desired_name,
     const gss_buffer_t password,
@@ -476,8 +476,8 @@ KRB5_CALLCONV spnego_gss_acquire_cred_with_password(
     gss_OID_set *actual_mechs,
     OM_uint32 *time_rec);
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_display_name_ext
+OM_uint32 KRB5_CALLCONV
+spnego_gss_display_name_ext
 (
        OM_uint32 *minor_status,
        gss_name_t name,
@@ -485,8 +485,8 @@ KRB5_CALLCONV spnego_gss_display_name_ext
        gss_buffer_t display_name
 );
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_inquire_name
+OM_uint32 KRB5_CALLCONV
+spnego_gss_inquire_name
 (
        OM_uint32 *minor_status,
        gss_name_t name,
@@ -495,8 +495,8 @@ KRB5_CALLCONV spnego_gss_inquire_name
        gss_buffer_set_t *attrs
 );
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_get_name_attribute
+OM_uint32 KRB5_CALLCONV
+spnego_gss_get_name_attribute
 (
        OM_uint32 *minor_status,
        gss_name_t name,
@@ -508,8 +508,8 @@ KRB5_CALLCONV spnego_gss_get_name_attribute
        int *more
 );
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_set_name_attribute
+OM_uint32 KRB5_CALLCONV
+spnego_gss_set_name_attribute
 (
        OM_uint32 *minor_status,
        gss_name_t name,
@@ -518,24 +518,24 @@ KRB5_CALLCONV spnego_gss_set_name_attribute
        gss_buffer_t value
 );
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_delete_name_attribute
+OM_uint32 KRB5_CALLCONV
+spnego_gss_delete_name_attribute
 (
        OM_uint32 *minor_status,
        gss_name_t name,
        gss_buffer_t attr
 );
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_export_name_composite
+OM_uint32 KRB5_CALLCONV
+spnego_gss_export_name_composite
 (
        OM_uint32 *minor_status,
        gss_name_t name,
        gss_buffer_t exp_composite_name
 );
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_map_name_to_any
+OM_uint32 KRB5_CALLCONV
+spnego_gss_map_name_to_any
 (
        OM_uint32 *minor_status,
        gss_name_t name,
@@ -544,8 +544,8 @@ KRB5_CALLCONV spnego_gss_map_name_to_any
        gss_any_t *output
 );
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_release_any_name_mapping
+OM_uint32 KRB5_CALLCONV
+spnego_gss_release_any_name_mapping
 (
        OM_uint32 *minor_status,
        gss_name_t name,
@@ -553,8 +553,8 @@ KRB5_CALLCONV spnego_gss_release_any_name_mapping
        gss_any_t *input
 );
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_pseudo_random
+OM_uint32 KRB5_CALLCONV
+spnego_gss_pseudo_random
 (
        OM_uint32 *minor_status,
        gss_ctx_id_t context,
@@ -564,24 +564,24 @@ KRB5_CALLCONV spnego_gss_pseudo_random
        gss_buffer_t prf_out
 );
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_set_neg_mechs
+OM_uint32 KRB5_CALLCONV
+spnego_gss_set_neg_mechs
 (
        OM_uint32 *minor_status,
        gss_cred_id_t cred_handle,
        const gss_OID_set mech_list
 );
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_inquire_mech_for_saslname
+OM_uint32 KRB5_CALLCONV
+spnego_gss_inquire_mech_for_saslname
 (
        OM_uint32 *minor_status,
        const gss_buffer_t sasl_mech_name,
        gss_OID *mech_type
 );
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_inquire_saslname_for_mech
+OM_uint32 KRB5_CALLCONV
+spnego_gss_inquire_saslname_for_mech
 (
        OM_uint32 *minor_status,
        const gss_OID desired_mech,
@@ -590,8 +590,8 @@ KRB5_CALLCONV spnego_gss_inquire_saslname_for_mech
        gss_buffer_t mech_description
 );
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_inquire_attrs_for_mech
+OM_uint32 KRB5_CALLCONV
+spnego_gss_inquire_attrs_for_mech
 (
        OM_uint32 *minor_status,
        gss_const_OID mech,
index 5a1b6d113b55e6ea7f7e3b8ebe6d6069eca8f0b6..657a2f8ca4db5b683a1ad2be3981fe8ab0ae64b8 100644 (file)
@@ -322,8 +322,8 @@ void gss_spnegoint_lib_fini(void)
 }
 
 /*ARGSUSED*/
-OM_uint32
-KRB5_CALLCONV spnego_gss_acquire_cred(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+spnego_gss_acquire_cred(OM_uint32 *minor_status,
                        gss_name_t desired_name,
                        OM_uint32 time_req,
                        gss_OID_set desired_mechs,
@@ -393,8 +393,8 @@ KRB5_CALLCONV spnego_gss_acquire_cred(OM_uint32 *minor_status,
 }
 
 /*ARGSUSED*/
-OM_uint32
-KRB5_CALLCONV spnego_gss_release_cred(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+spnego_gss_release_cred(OM_uint32 *minor_status,
                        gss_cred_id_t *cred_handle)
 {
        spnego_gss_cred_id_t spcred = NULL;
@@ -887,8 +887,8 @@ init_ctx_call_init(OM_uint32 *minor_status,
 }
 
 /*ARGSUSED*/
-OM_uint32
-KRB5_CALLCONV spnego_gss_init_sec_context(
+OM_uint32 KRB5_CALLCONV
+spnego_gss_init_sec_context(
                        OM_uint32 *minor_status,
                        gss_cred_id_t claimant_cred_handle,
                        gss_ctx_id_t *context_handle,
@@ -1583,8 +1583,8 @@ acc_ctx_call_acc(OM_uint32 *minor_status, spnego_gss_ctx_id_t sc,
 }
 
 /*ARGSUSED*/
-OM_uint32
-KRB5_CALLCONV spnego_gss_accept_sec_context(
+OM_uint32 KRB5_CALLCONV
+spnego_gss_accept_sec_context(
                            OM_uint32 *minor_status,
                            gss_ctx_id_t *context_handle,
                            gss_cred_id_t verifier_cred_handle,
@@ -1777,8 +1777,8 @@ cleanup:
 
 
 /*ARGSUSED*/
-OM_uint32
-KRB5_CALLCONV spnego_gss_display_status(
+OM_uint32 KRB5_CALLCONV
+spnego_gss_display_status(
                OM_uint32 *minor_status,
                OM_uint32 status_value,
                int status_type,
@@ -1827,8 +1827,8 @@ KRB5_CALLCONV spnego_gss_display_status(
 
 
 /*ARGSUSED*/
-OM_uint32
-KRB5_CALLCONV spnego_gss_import_name(
+OM_uint32 KRB5_CALLCONV
+spnego_gss_import_name(
                    OM_uint32 *minor_status,
                    gss_buffer_t input_name_buffer,
                    gss_OID input_name_type,
@@ -1846,8 +1846,8 @@ KRB5_CALLCONV spnego_gss_import_name(
 }
 
 /*ARGSUSED*/
-OM_uint32
-KRB5_CALLCONV spnego_gss_release_name(
+OM_uint32 KRB5_CALLCONV
+spnego_gss_release_name(
                        OM_uint32 *minor_status,
                        gss_name_t *input_name)
 {
@@ -1862,8 +1862,8 @@ KRB5_CALLCONV spnego_gss_release_name(
 }
 
 /*ARGSUSED*/
-OM_uint32
-KRB5_CALLCONV spnego_gss_duplicate_name(
+OM_uint32 KRB5_CALLCONV
+spnego_gss_duplicate_name(
                        OM_uint32 *minor_status,
                        const gss_name_t input_name,
                        gss_name_t *output_name)
@@ -1878,8 +1878,8 @@ KRB5_CALLCONV spnego_gss_duplicate_name(
        return (status);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_inquire_cred(
+OM_uint32 KRB5_CALLCONV
+spnego_gss_inquire_cred(
                        OM_uint32 *minor_status,
                        gss_cred_id_t cred_handle,
                        gss_name_t *name,
@@ -1951,8 +1951,8 @@ KRB5_CALLCONV spnego_gss_inquire_cred(
 }
 
 /*ARGSUSED*/
-OM_uint32
-KRB5_CALLCONV spnego_gss_compare_name(
+OM_uint32 KRB5_CALLCONV
+spnego_gss_compare_name(
                        OM_uint32 *minor_status,
                        const gss_name_t name1,
                        const gss_name_t name2,
@@ -1969,8 +1969,8 @@ KRB5_CALLCONV spnego_gss_compare_name(
 
 /*ARGSUSED*/
 /*ARGSUSED*/
-OM_uint32
-KRB5_CALLCONV spnego_gss_display_name(
+OM_uint32 KRB5_CALLCONV
+spnego_gss_display_name(
                        OM_uint32 *minor_status,
                        gss_name_t input_name,
                        gss_buffer_t output_name_buffer,
@@ -1988,8 +1988,8 @@ KRB5_CALLCONV spnego_gss_display_name(
 
 
 /*ARGSUSED*/
-OM_uint32
-KRB5_CALLCONV spnego_gss_inquire_names_for_mech(
+OM_uint32 KRB5_CALLCONV
+spnego_gss_inquire_names_for_mech(
                                OM_uint32       *minor_status,
                                gss_OID         mechanism,
                                gss_OID_set     *name_types)
@@ -2031,8 +2031,8 @@ KRB5_CALLCONV spnego_gss_inquire_names_for_mech(
        return (major);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_unwrap(
+OM_uint32 KRB5_CALLCONV
+spnego_gss_unwrap(
                OM_uint32 *minor_status,
                gss_ctx_id_t context_handle,
                gss_buffer_t input_message_buffer,
@@ -2051,8 +2051,8 @@ KRB5_CALLCONV spnego_gss_unwrap(
        return (ret);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_wrap(
+OM_uint32 KRB5_CALLCONV
+spnego_gss_wrap(
                OM_uint32 *minor_status,
                gss_ctx_id_t context_handle,
                int conf_req_flag,
@@ -2073,8 +2073,8 @@ KRB5_CALLCONV spnego_gss_wrap(
        return (ret);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_process_context_token(
+OM_uint32 KRB5_CALLCONV
+spnego_gss_process_context_token(
                                OM_uint32       *minor_status,
                                const gss_ctx_id_t context_handle,
                                const gss_buffer_t token_buffer)
@@ -2087,8 +2087,8 @@ KRB5_CALLCONV spnego_gss_process_context_token(
        return (ret);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_delete_sec_context(
+OM_uint32 KRB5_CALLCONV
+spnego_gss_delete_sec_context(
                            OM_uint32 *minor_status,
                            gss_ctx_id_t *context_handle,
                            gss_buffer_t output_token)
@@ -2122,8 +2122,8 @@ KRB5_CALLCONV spnego_gss_delete_sec_context(
        return (ret);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_context_time(
+OM_uint32 KRB5_CALLCONV
+spnego_gss_context_time(
                        OM_uint32       *minor_status,
                        const gss_ctx_id_t context_handle,
                        OM_uint32       *time_rec)
@@ -2135,8 +2135,8 @@ KRB5_CALLCONV spnego_gss_context_time(
        return (ret);
 }
 #ifndef LEAN_CLIENT
-OM_uint32
-KRB5_CALLCONV spnego_gss_export_sec_context(
+OM_uint32 KRB5_CALLCONV
+spnego_gss_export_sec_context(
                            OM_uint32     *minor_status,
                            gss_ctx_id_t *context_handle,
                            gss_buffer_t interprocess_token)
@@ -2148,8 +2148,8 @@ KRB5_CALLCONV spnego_gss_export_sec_context(
        return (ret);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_import_sec_context(
+OM_uint32 KRB5_CALLCONV
+spnego_gss_import_sec_context(
        OM_uint32               *minor_status,
        const gss_buffer_t      interprocess_token,
        gss_ctx_id_t            *context_handle)
@@ -2162,8 +2162,8 @@ KRB5_CALLCONV spnego_gss_import_sec_context(
 }
 #endif /* LEAN_CLIENT */
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_inquire_context(
+OM_uint32 KRB5_CALLCONV
+spnego_gss_inquire_context(
                        OM_uint32       *minor_status,
                        const gss_ctx_id_t context_handle,
                        gss_name_t      *src_name,
@@ -2189,8 +2189,8 @@ KRB5_CALLCONV spnego_gss_inquire_context(
        return (ret);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_wrap_size_limit(
+OM_uint32 KRB5_CALLCONV
+spnego_gss_wrap_size_limit(
        OM_uint32       *minor_status,
        const gss_ctx_id_t context_handle,
        int             conf_req_flag,
@@ -2208,8 +2208,8 @@ KRB5_CALLCONV spnego_gss_wrap_size_limit(
        return (ret);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_get_mic(
+OM_uint32 KRB5_CALLCONV
+spnego_gss_get_mic(
                OM_uint32 *minor_status,
                const gss_ctx_id_t context_handle,
                gss_qop_t  qop_req,
@@ -2225,8 +2225,8 @@ KRB5_CALLCONV spnego_gss_get_mic(
        return (ret);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_verify_mic(
+OM_uint32 KRB5_CALLCONV
+spnego_gss_verify_mic(
                OM_uint32 *minor_status,
                const gss_ctx_id_t context_handle,
                const gss_buffer_t msg_buffer,
@@ -2242,8 +2242,8 @@ KRB5_CALLCONV spnego_gss_verify_mic(
        return (ret);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_inquire_sec_context_by_oid(
+OM_uint32 KRB5_CALLCONV
+spnego_gss_inquire_sec_context_by_oid(
                OM_uint32 *minor_status,
                const gss_ctx_id_t context_handle,
                const gss_OID desired_object,
@@ -2257,8 +2257,8 @@ KRB5_CALLCONV spnego_gss_inquire_sec_context_by_oid(
        return (ret);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_inquire_cred_by_oid(
+OM_uint32 KRB5_CALLCONV
+spnego_gss_inquire_cred_by_oid(
                OM_uint32 *minor_status,
                const gss_cred_id_t cred_handle,
                const gss_OID desired_object,
@@ -2275,8 +2275,8 @@ KRB5_CALLCONV spnego_gss_inquire_cred_by_oid(
        return (ret);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_set_cred_option(
+OM_uint32 KRB5_CALLCONV
+spnego_gss_set_cred_option(
                OM_uint32 *minor_status,
                gss_cred_id_t *cred_handle,
                const gss_OID desired_object,
@@ -2312,8 +2312,8 @@ KRB5_CALLCONV spnego_gss_set_cred_option(
        return (ret);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_set_sec_context_option(
+OM_uint32 KRB5_CALLCONV
+spnego_gss_set_sec_context_option(
                OM_uint32 *minor_status,
                gss_ctx_id_t *context_handle,
                const gss_OID desired_object,
@@ -2327,8 +2327,8 @@ KRB5_CALLCONV spnego_gss_set_sec_context_option(
        return (ret);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_wrap_aead(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+spnego_gss_wrap_aead(OM_uint32 *minor_status,
                     gss_ctx_id_t context_handle,
                     int conf_req_flag,
                     gss_qop_t qop_req,
@@ -2350,8 +2350,8 @@ KRB5_CALLCONV spnego_gss_wrap_aead(OM_uint32 *minor_status,
        return (ret);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_unwrap_aead(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+spnego_gss_unwrap_aead(OM_uint32 *minor_status,
                       gss_ctx_id_t context_handle,
                       gss_buffer_t input_message_buffer,
                       gss_buffer_t input_assoc_buffer,
@@ -2370,8 +2370,8 @@ KRB5_CALLCONV spnego_gss_unwrap_aead(OM_uint32 *minor_status,
        return (ret);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_wrap_iov(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+spnego_gss_wrap_iov(OM_uint32 *minor_status,
                    gss_ctx_id_t context_handle,
                    int conf_req_flag,
                    gss_qop_t qop_req,
@@ -2390,8 +2390,8 @@ KRB5_CALLCONV spnego_gss_wrap_iov(OM_uint32 *minor_status,
        return (ret);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_unwrap_iov(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+spnego_gss_unwrap_iov(OM_uint32 *minor_status,
                      gss_ctx_id_t context_handle,
                      int *conf_state,
                      gss_qop_t *qop_state,
@@ -2408,8 +2408,8 @@ KRB5_CALLCONV spnego_gss_unwrap_iov(OM_uint32 *minor_status,
        return (ret);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_wrap_iov_length(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+spnego_gss_wrap_iov_length(OM_uint32 *minor_status,
                           gss_ctx_id_t context_handle,
                           int conf_req_flag,
                           gss_qop_t qop_req,
@@ -2429,8 +2429,8 @@ KRB5_CALLCONV spnego_gss_wrap_iov_length(OM_uint32 *minor_status,
 }
 
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_complete_auth_token(
+OM_uint32 KRB5_CALLCONV
+spnego_gss_complete_auth_token(
                OM_uint32 *minor_status,
                const gss_ctx_id_t context_handle,
                gss_buffer_t input_message_buffer)
@@ -2442,8 +2442,8 @@ KRB5_CALLCONV spnego_gss_complete_auth_token(
        return (ret);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_acquire_cred_impersonate_name(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+spnego_gss_acquire_cred_impersonate_name(OM_uint32 *minor_status,
                                         const gss_cred_id_t impersonator_cred_handle,
                                         const gss_name_t desired_name,
                                         OM_uint32 time_req,
@@ -2500,8 +2500,8 @@ KRB5_CALLCONV spnego_gss_acquire_cred_impersonate_name(OM_uint32 *minor_status,
        return (status);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_acquire_cred_with_password(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+spnego_gss_acquire_cred_with_password(OM_uint32 *minor_status,
                                      const gss_name_t desired_name,
                                      const gss_buffer_t password,
                                      OM_uint32 time_req,
@@ -2558,8 +2558,8 @@ cleanup:
        return (status);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_display_name_ext(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+spnego_gss_display_name_ext(OM_uint32 *minor_status,
                            gss_name_t name,
                            gss_OID display_as_name_type,
                            gss_buffer_t display_name)
@@ -2573,8 +2573,8 @@ KRB5_CALLCONV spnego_gss_display_name_ext(OM_uint32 *minor_status,
 }
 
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_inquire_name(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+spnego_gss_inquire_name(OM_uint32 *minor_status,
                        gss_name_t name,
                        int *name_is_MN,
                        gss_OID *MN_mech,
@@ -2589,8 +2589,8 @@ KRB5_CALLCONV spnego_gss_inquire_name(OM_uint32 *minor_status,
        return (ret);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_get_name_attribute(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+spnego_gss_get_name_attribute(OM_uint32 *minor_status,
                              gss_name_t name,
                              gss_buffer_t attr,
                              int *authenticated,
@@ -2611,8 +2611,8 @@ KRB5_CALLCONV spnego_gss_get_name_attribute(OM_uint32 *minor_status,
        return (ret);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_set_name_attribute(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+spnego_gss_set_name_attribute(OM_uint32 *minor_status,
                              gss_name_t name,
                              int complete,
                              gss_buffer_t attr,
@@ -2627,8 +2627,8 @@ KRB5_CALLCONV spnego_gss_set_name_attribute(OM_uint32 *minor_status,
        return (ret);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_delete_name_attribute(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+spnego_gss_delete_name_attribute(OM_uint32 *minor_status,
                                 gss_name_t name,
                                 gss_buffer_t attr)
 {
@@ -2639,8 +2639,8 @@ KRB5_CALLCONV spnego_gss_delete_name_attribute(OM_uint32 *minor_status,
        return (ret);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_export_name_composite(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+spnego_gss_export_name_composite(OM_uint32 *minor_status,
                                 gss_name_t name,
                                 gss_buffer_t exp_composite_name)
 {
@@ -2651,8 +2651,8 @@ KRB5_CALLCONV spnego_gss_export_name_composite(OM_uint32 *minor_status,
        return (ret);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_map_name_to_any(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+spnego_gss_map_name_to_any(OM_uint32 *minor_status,
                           gss_name_t name,
                           int authenticated,
                           gss_buffer_t type_id,
@@ -2667,8 +2667,8 @@ KRB5_CALLCONV spnego_gss_map_name_to_any(OM_uint32 *minor_status,
        return (ret);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_release_any_name_mapping(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+spnego_gss_release_any_name_mapping(OM_uint32 *minor_status,
                                    gss_name_t name,
                                    gss_buffer_t type_id,
                                    gss_any_t *input)
@@ -2681,8 +2681,8 @@ KRB5_CALLCONV spnego_gss_release_any_name_mapping(OM_uint32 *minor_status,
        return (ret);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_pseudo_random(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+spnego_gss_pseudo_random(OM_uint32 *minor_status,
                         gss_ctx_id_t context,
                         int prf_key,
                         const gss_buffer_t prf_in,
@@ -2699,8 +2699,8 @@ KRB5_CALLCONV spnego_gss_pseudo_random(OM_uint32 *minor_status,
         return (ret);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_set_neg_mechs(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+spnego_gss_set_neg_mechs(OM_uint32 *minor_status,
                         gss_cred_id_t cred_handle,
                         const gss_OID_set mech_list)
 {
@@ -2717,8 +2717,8 @@ KRB5_CALLCONV spnego_gss_set_neg_mechs(OM_uint32 *minor_status,
 #define SPNEGO_SASL_NAME       "SPNEGO"
 #define SPNEGO_SASL_NAME_LEN   (sizeof(SPNEGO_SASL_NAME) - 1)
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_inquire_mech_for_saslname(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+spnego_gss_inquire_mech_for_saslname(OM_uint32 *minor_status,
                                      const gss_buffer_t sasl_mech_name,
                                      gss_OID *mech_type)
 {
@@ -2733,8 +2733,8 @@ KRB5_CALLCONV spnego_gss_inquire_mech_for_saslname(OM_uint32 *minor_status,
        return (GSS_S_BAD_MECH);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_inquire_saslname_for_mech(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+spnego_gss_inquire_saslname_for_mech(OM_uint32 *minor_status,
                                      const gss_OID desired_mech,
                                      gss_buffer_t sasl_mech_name,
                                      gss_buffer_t mech_name,
@@ -2758,8 +2758,8 @@ fail:
        return (GSS_S_FAILURE);
 }
 
-OM_uint32
-KRB5_CALLCONV spnego_gss_inquire_attrs_for_mech(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV
+spnego_gss_inquire_attrs_for_mech(OM_uint32 *minor_status,
                                  gss_const_OID mech,
                                  gss_OID_set *mech_attrs,
                                  gss_OID_set *known_mech_attrs)