diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-02-20 19:40:20 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-02-20 19:40:20 +0100 |
commit | 39a6495c86679d5e970012a0d1f5cd375e56450c (patch) | |
tree | 751a12cb1b2d6e2539e69c0d05659c739cec64ce /source4/lib/socket | |
parent | 5e0f8cabee6ea9528e1bba6c0d3edc7014fb5922 (diff) | |
download | samba-39a6495c86679d5e970012a0d1f5cd375e56450c.tar.gz samba-39a6495c86679d5e970012a0d1f5cd375e56450c.tar.bz2 samba-39a6495c86679d5e970012a0d1f5cd375e56450c.zip |
Make more module init functions public, since they are compiled with -fvisibility=hidden. Not doing this causes failures on Mac OS X.
(This used to be commit da1a9438bd89569077ef1eaa9dc977b5f9d62836)
Diffstat (limited to 'source4/lib/socket')
-rw-r--r-- | source4/lib/socket/socket_ip.c | 4 | ||||
-rw-r--r-- | source4/lib/socket/socket_unix.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/socket/socket_ip.c b/source4/lib/socket/socket_ip.c index e61b6d82fc..bca0aab924 100644 --- a/source4/lib/socket/socket_ip.c +++ b/source4/lib/socket/socket_ip.c @@ -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; } diff --git a/source4/lib/socket/socket_unix.c b/source4/lib/socket/socket_unix.c index cac4b8e913..af7d2bb79f 100644 --- a/source4/lib/socket/socket_unix.c +++ b/source4/lib/socket/socket_unix.c @@ -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; } |