summaryrefslogtreecommitdiff
path: root/source4/lib/events
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-20 19:40:20 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-20 19:40:20 +0100
commit39a6495c86679d5e970012a0d1f5cd375e56450c (patch)
tree751a12cb1b2d6e2539e69c0d05659c739cec64ce /source4/lib/events
parent5e0f8cabee6ea9528e1bba6c0d3edc7014fb5922 (diff)
downloadsamba-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/events')
-rw-r--r--source4/lib/events/events_select.c2
-rw-r--r--source4/lib/events/events_standard.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/events/events_select.c b/source4/lib/events/events_select.c
index 3f9eeb5617..f4b7e4e5eb 100644
--- a/source4/lib/events/events_select.c
+++ b/source4/lib/events/events_select.c
@@ -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;
diff --git a/source4/lib/events/events_standard.c b/source4/lib/events/events_standard.c
index 5e529d66ab..7b945b154d 100644
--- a/source4/lib/events/events_standard.c
+++ b/source4/lib/events/events_standard.c
@@ -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;