Make more module init functions public, since they are compiled with -fvisibility...
authorJelmer Vernooij <jelmer@samba.org>
Wed, 20 Feb 2008 18:40:20 +0000 (19:40 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Wed, 20 Feb 2008 18:40:20 +0000 (19:40 +0100)
(This used to be commit da1a9438bd89569077ef1eaa9dc977b5f9d62836)

source4/auth/gensec/gensec_gssapi.c
source4/auth/gensec/gensec_krb5.c
source4/auth/gensec/schannel.c
source4/auth/gensec/spnego.c
source4/auth/ntlmssp/ntlmssp.c
source4/lib/events/events_select.c
source4/lib/events/events_standard.c
source4/lib/socket/socket_ip.c
source4/lib/socket/socket_unix.c

index 87fa47646bbfacf95f55d2b779cbd4ec597f451f..8361b115d7c9ae586d51324f545bc7a58af2f5c3 100644 (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;
 
index 5cd0de1ceb764f6b9cc54ecadd0a5369e382d864..d9addcaa3c290335ff105db93d7606ecb6225b32 100644 (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;
 
index 42db959380e71ae87dfeed1e0df7c738cfb0a420..96e347898234e8cccc36fdfa6bf5de9953038f47 100644 (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);
index 782aa44c758d4f3cd1d7f5ff0f86e5ce5d5102c6..f593d17d4bdf110cca608baf608554af3882199e 100644 (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);
index 4f5822567ac3a3948170ffd4bb86378d07221b97..8901488004c5e46ff53515203cc61eb3697c0488 100644 (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;
 
index 3f9eeb5617cdef24bd68bfb23ed54c255ca78040..f4b7e4e5ebd1f67735a8c35b365dbcf55652a679 100644 (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;
index 5e529d66ab483bb0f2d1984a22b7ce9690958f3c..7b945b154d96780d1ff9a113b7f49afaa070991a 100644 (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;
index e61b6d82fccd3a0ad3bd625ed5b00c42ca439384..bca0aab9249d253de0804cc1eb9909f86663f593 100644 (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;
 }
index cac4b8e913663c1e183b7db996ced7d0dba00907..af7d2bb79ff66da79d18d96f3b0ebccfae05c5be 100644 (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;
 }