From aaa44009425777f4d5a66fdb3457f7afbbec3e9f Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Tue, 17 May 2011 14:02:49 -0400 Subject: [PATCH] Apply missing function modifiers GSSAPI_CALLCONV, GSSAPI_LIB_FUNC, GSSAPI_LIB_CALL as appropriate Change-Id: I5198cfc7dd665bdc064aa0e613dac7db7465e2b9 --- lib/gssapi/krb5/authorize_localname.c | 2 +- lib/gssapi/krb5/pname_to_uid.c | 2 +- lib/gssapi/mech/cred.h | 2 +- lib/gssapi/mech/gss_acquire_cred_ext.c | 2 +- lib/gssapi/mech/gss_acquire_cred_with_password.c | 2 +- lib/gssapi/mech/gss_authorize_localname.c | 4 ++-- lib/gssapi/mech/gss_delete_name_attribute.c | 2 +- lib/gssapi/mech/gss_display_name_ext.c | 2 +- lib/gssapi/mech/gss_export_name_composite.c | 2 +- lib/gssapi/mech/gss_get_name_attribute.c | 2 +- lib/gssapi/mech/gss_inquire_name.c | 2 +- lib/gssapi/mech/gss_pname_to_uid.c | 2 +- lib/gssapi/mech/gss_set_name_attribute.c | 2 +- 13 files changed, 14 insertions(+), 14 deletions(-) diff --git a/lib/gssapi/krb5/authorize_localname.c b/lib/gssapi/krb5/authorize_localname.c index 18d1d9623..4bab062ac 100644 --- a/lib/gssapi/krb5/authorize_localname.c +++ b/lib/gssapi/krb5/authorize_localname.c @@ -32,7 +32,7 @@ #include "gsskrb5_locl.h" -OM_uint32 +OM_uint32 GSSAPI_CALLCONV _gsskrb5_authorize_localname(OM_uint32 *minor_status, const gss_name_t input_name, gss_const_buffer_t user_name, diff --git a/lib/gssapi/krb5/pname_to_uid.c b/lib/gssapi/krb5/pname_to_uid.c index c14ff9005..ff754e779 100644 --- a/lib/gssapi/krb5/pname_to_uid.c +++ b/lib/gssapi/krb5/pname_to_uid.c @@ -32,7 +32,7 @@ #include "gsskrb5_locl.h" -OM_uint32 +OM_uint32 GSSAPI_CALLCONV _gsskrb5_pname_to_uid(OM_uint32 *minor_status, const gss_name_t pname, const gss_OID mech_type, diff --git a/lib/gssapi/mech/cred.h b/lib/gssapi/mech/cred.h index 5661b5323..fdd44e972 100644 --- a/lib/gssapi/mech/cred.h +++ b/lib/gssapi/mech/cred.h @@ -44,7 +44,7 @@ _gss_copy_cred(struct _gss_mechanism_cred *mc); struct _gss_mechanism_name; -OM_uint32 +GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL _gss_acquire_mech_cred(OM_uint32 *minor_status, gssapi_mech_interface m, const struct _gss_mechanism_name *mn, diff --git a/lib/gssapi/mech/gss_acquire_cred_ext.c b/lib/gssapi/mech/gss_acquire_cred_ext.c index b9cb6c50a..dccf7d65b 100644 --- a/lib/gssapi/mech/gss_acquire_cred_ext.c +++ b/lib/gssapi/mech/gss_acquire_cred_ext.c @@ -30,7 +30,7 @@ #include "mech_locl.h" -OM_uint32 +GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL _gss_acquire_mech_cred(OM_uint32 *minor_status, gssapi_mech_interface m, const struct _gss_mechanism_name *mn, diff --git a/lib/gssapi/mech/gss_acquire_cred_with_password.c b/lib/gssapi/mech/gss_acquire_cred_with_password.c index 0be17d146..b20be8cd3 100644 --- a/lib/gssapi/mech/gss_acquire_cred_with_password.c +++ b/lib/gssapi/mech/gss_acquire_cred_with_password.c @@ -32,7 +32,7 @@ #include "mech_locl.h" -OM_uint32 +GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_acquire_cred_with_password(OM_uint32 *minor_status, const gss_name_t desired_name, const gss_buffer_t password, diff --git a/lib/gssapi/mech/gss_authorize_localname.c b/lib/gssapi/mech/gss_authorize_localname.c index 7bba77261..9d55abfda 100644 --- a/lib/gssapi/mech/gss_authorize_localname.c +++ b/lib/gssapi/mech/gss_authorize_localname.c @@ -114,7 +114,7 @@ attr_authorize_localname(OM_uint32 *minor_status, return major_status; } -OM_uint32 +GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_authorize_localname(OM_uint32 *minor_status, const gss_name_t gss_name, const gss_name_t gss_user) @@ -165,7 +165,7 @@ gss_authorize_localname(OM_uint32 *minor_status, return major_status; } -int +GSSAPI_LIB_FUNCTION int GSSAPI_LIB_CALL gss_userok(const gss_name_t name, const char *user) { diff --git a/lib/gssapi/mech/gss_delete_name_attribute.c b/lib/gssapi/mech/gss_delete_name_attribute.c index ccee63219..e08fe34fd 100644 --- a/lib/gssapi/mech/gss_delete_name_attribute.c +++ b/lib/gssapi/mech/gss_delete_name_attribute.c @@ -32,7 +32,7 @@ #include "mech_locl.h" -OM_uint32 +GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_delete_name_attribute(OM_uint32 *minor_status, gss_name_t input_name, gss_buffer_t attr) diff --git a/lib/gssapi/mech/gss_display_name_ext.c b/lib/gssapi/mech/gss_display_name_ext.c index 98a27c15a..48e62b37f 100644 --- a/lib/gssapi/mech/gss_display_name_ext.c +++ b/lib/gssapi/mech/gss_display_name_ext.c @@ -32,7 +32,7 @@ #include "mech_locl.h" -OM_uint32 +GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_display_name_ext(OM_uint32 *minor_status, gss_name_t input_name, gss_OID display_as_name_type, diff --git a/lib/gssapi/mech/gss_export_name_composite.c b/lib/gssapi/mech/gss_export_name_composite.c index 7b6e7ba25..8f6cddf80 100644 --- a/lib/gssapi/mech/gss_export_name_composite.c +++ b/lib/gssapi/mech/gss_export_name_composite.c @@ -32,7 +32,7 @@ #include "mech_locl.h" -OM_uint32 +GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_export_name_composite(OM_uint32 *minor_status, gss_name_t input_name, gss_buffer_t exp_composite_name) diff --git a/lib/gssapi/mech/gss_get_name_attribute.c b/lib/gssapi/mech/gss_get_name_attribute.c index 2c0132255..cb59cc666 100644 --- a/lib/gssapi/mech/gss_get_name_attribute.c +++ b/lib/gssapi/mech/gss_get_name_attribute.c @@ -32,7 +32,7 @@ #include "mech_locl.h" -OM_uint32 +GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_get_name_attribute(OM_uint32 *minor_status, gss_name_t input_name, gss_buffer_t attr, diff --git a/lib/gssapi/mech/gss_inquire_name.c b/lib/gssapi/mech/gss_inquire_name.c index 4181504d4..3eb36dbac 100644 --- a/lib/gssapi/mech/gss_inquire_name.c +++ b/lib/gssapi/mech/gss_inquire_name.c @@ -32,7 +32,7 @@ #include "mech_locl.h" -OM_uint32 +GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_inquire_name(OM_uint32 *minor_status, gss_name_t input_name, int *name_is_MN, diff --git a/lib/gssapi/mech/gss_pname_to_uid.c b/lib/gssapi/mech/gss_pname_to_uid.c index 444d38a8d..c5f26949f 100644 --- a/lib/gssapi/mech/gss_pname_to_uid.c +++ b/lib/gssapi/mech/gss_pname_to_uid.c @@ -130,7 +130,7 @@ attr_pname_to_uid(OM_uint32 *minor_status, #endif /* NO_LOCALNAME */ } -OM_uint32 +GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_pname_to_uid(OM_uint32 *minor_status, const gss_name_t pname, const gss_OID mech_type, diff --git a/lib/gssapi/mech/gss_set_name_attribute.c b/lib/gssapi/mech/gss_set_name_attribute.c index 13f1d7b97..b0d39d9cd 100644 --- a/lib/gssapi/mech/gss_set_name_attribute.c +++ b/lib/gssapi/mech/gss_set_name_attribute.c @@ -32,7 +32,7 @@ #include "mech_locl.h" -OM_uint32 +GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_set_name_attribute(OM_uint32 *minor_status, gss_name_t input_name, int complete,