1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

Make more module init functions public, since they are compiled with -fvisibility=hidden. Not doing this causes failures on Mac OS X.

This commit is contained in:
Jelmer Vernooij 2008-02-20 19:40:20 +01:00
parent 675bab7380
commit da1a9438bd
9 changed files with 10 additions and 10 deletions

View File

@ -1463,7 +1463,7 @@ static const struct gensec_security_ops gensec_gssapi_sasl_krb5_security_ops = {
.priority = GENSEC_GSSAPI
};
NTSTATUS gensec_gssapi_init(void)
_PUBLIC_ NTSTATUS gensec_gssapi_init(void)
{
NTSTATUS ret;

View File

@ -775,7 +775,7 @@ static const struct gensec_security_ops gensec_krb5_security_ops = {
.priority = GENSEC_KRB5
};
NTSTATUS gensec_krb5_init(void)
_PUBLIC_ NTSTATUS gensec_krb5_init(void)
{
NTSTATUS ret;

View File

@ -274,7 +274,7 @@ static const struct gensec_security_ops gensec_schannel_security_ops = {
.priority = GENSEC_SCHANNEL
};
NTSTATUS gensec_schannel_init(void)
_PUBLIC_ NTSTATUS gensec_schannel_init(void)
{
NTSTATUS ret;
ret = gensec_register(&gensec_schannel_security_ops);

View File

@ -1042,7 +1042,7 @@ static const struct gensec_security_ops gensec_spnego_security_ops = {
.priority = GENSEC_SPNEGO
};
NTSTATUS gensec_spnego_init(void)
_PUBLIC_ NTSTATUS gensec_spnego_init(void)
{
NTSTATUS ret;
ret = gensec_register(&gensec_spnego_security_ops);

View File

@ -425,7 +425,7 @@ static const struct gensec_security_ops gensec_ntlmssp_security_ops = {
};
NTSTATUS gensec_ntlmssp_init(void)
_PUBLIC_ NTSTATUS gensec_ntlmssp_init(void)
{
NTSTATUS ret;

View File

@ -300,7 +300,7 @@ bool events_select_init(void)
}
#if _SAMBA_BUILD_
NTSTATUS s4_events_select_init(void)
_PUBLIC_ NTSTATUS s4_events_select_init(void)
{
if (!events_select_init()) {
return NT_STATUS_INTERNAL_ERROR;

View File

@ -602,7 +602,7 @@ bool events_standard_init(void)
}
#if _SAMBA_BUILD_
NTSTATUS s4_events_standard_init(void)
_PUBLIC_ NTSTATUS s4_events_standard_init(void)
{
if (!events_standard_init()) {
return NT_STATUS_INTERNAL_ERROR;

View File

@ -540,7 +540,7 @@ static const struct socket_ops ipv4_ops = {
.fn_get_fd = ip_get_fd
};
const struct socket_ops *socket_ipv4_ops(enum socket_type type)
_PUBLIC_ const struct socket_ops *socket_ipv4_ops(enum socket_type type)
{
return &ipv4_ops;
}
@ -977,7 +977,7 @@ static const struct socket_ops ipv6_tcp_ops = {
.fn_get_fd = ip_get_fd
};
const struct socket_ops *socket_ipv6_ops(enum socket_type type)
_PUBLIC_ const struct socket_ops *socket_ipv6_ops(enum socket_type type)
{
return &ipv6_tcp_ops;
}

View File

@ -414,7 +414,7 @@ static const struct socket_ops unixdom_ops = {
.fn_get_fd = unixdom_get_fd
};
const struct socket_ops *socket_unixdom_ops(enum socket_type type)
_PUBLIC_ const struct socket_ops *socket_unixdom_ops(enum socket_type type)
{
return &unixdom_ops;
}