diff options
-rw-r--r-- | nsswitch/krb5_plugin/async_dns_krb5_locator.c | 2 | ||||
-rw-r--r-- | nsswitch/krb5_plugin/winbind_krb5_localauth.c | 4 | ||||
-rw-r--r-- | nsswitch/krb5_plugin/winbind_krb5_locator.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/nsswitch/krb5_plugin/async_dns_krb5_locator.c b/nsswitch/krb5_plugin/async_dns_krb5_locator.c index 959d730a954..7383b739a83 100644 --- a/nsswitch/krb5_plugin/async_dns_krb5_locator.c +++ b/nsswitch/krb5_plugin/async_dns_krb5_locator.c @@ -431,7 +431,7 @@ static krb5_error_code smb_krb5_adns_locator_lookup(void *private_data, #define SMB_KRB5_LOCATOR_SYMBOL_NAME service_locator /* MIT */ #endif -const krb5plugin_service_locate_ftable SMB_KRB5_LOCATOR_SYMBOL_NAME = { +_PUBLIC_ const krb5plugin_service_locate_ftable SMB_KRB5_LOCATOR_SYMBOL_NAME = { .minor_version = 0, .init = smb_krb5_adns_locator_init, .fini = smb_krb5_adns_locator_close, diff --git a/nsswitch/krb5_plugin/winbind_krb5_localauth.c b/nsswitch/krb5_plugin/winbind_krb5_localauth.c index 293f5297ca8..751dfd1674b 100644 --- a/nsswitch/krb5_plugin/winbind_krb5_localauth.c +++ b/nsswitch/krb5_plugin/winbind_krb5_localauth.c @@ -248,13 +248,13 @@ static void winbind_free_string(krb5_context context, free(str); } -krb5_error_code +_PUBLIC_ krb5_error_code localauth_winbind_initvt(krb5_context context, int maj_ver, int min_ver, krb5_plugin_vtable vtable); -krb5_error_code +_PUBLIC_ krb5_error_code localauth_winbind_initvt(krb5_context context, int maj_ver, int min_ver, diff --git a/nsswitch/krb5_plugin/winbind_krb5_locator.c b/nsswitch/krb5_plugin/winbind_krb5_locator.c index d08cdf72a59..d65b50eea32 100644 --- a/nsswitch/krb5_plugin/winbind_krb5_locator.c +++ b/nsswitch/krb5_plugin/winbind_krb5_locator.c @@ -408,7 +408,7 @@ static krb5_error_code smb_krb5_locator_lookup(void *private_data, #define SMB_KRB5_LOCATOR_SYMBOL_NAME service_locator /* MIT */ #endif -const krb5plugin_service_locate_ftable SMB_KRB5_LOCATOR_SYMBOL_NAME = { +_PUBLIC_ const krb5plugin_service_locate_ftable SMB_KRB5_LOCATOR_SYMBOL_NAME = { .minor_version = 0, .init = smb_krb5_locator_init, .fini = smb_krb5_locator_close, |