From 1f5a8f892ff09f2633610c0f520d96f892674933 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 30 Apr 2006 00:40:04 +0000 Subject: r15344: Fix shared library build (This used to be commit 7113a16309a83225f3ab6ccbfe48778ae8fc52e8) --- source4/lib/socket/config.mk | 2 +- source4/lib/socket/connect_multi.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/lib') diff --git a/source4/lib/socket/config.mk b/source4/lib/socket/config.mk index ee630fb227..4c4dbb2915 100644 --- a/source4/lib/socket/config.mk +++ b/source4/lib/socket/config.mk @@ -41,7 +41,7 @@ OBJ_FILES = \ access.o \ connect_multi.o \ connect.o -LDFLAGS = $(SUBSYSTEM_LIBCLI_RESOLVE_OUTPUT) $(LIBRARY_LIBCLI_NBT_OUTPUT) $(SUBSYSTEM_NDR_NBT_OUTPUT) $(LIBRARY_NDR_SVCCTL_OUTPUT) +LDFLAGS = $(SUBSYSTEM_LIBCLI_RESOLVE_OUTPUT) $(SUBSYSTEM_LIBCLI_NBT_OUTPUT) $(SUBSYSTEM_NDR_NBT_OUTPUT) $(LIBRARY_NDR_SVCCTL_OUTPUT) PUBLIC_DEPENDENCIES = LIBTALLOC PRIVATE_DEPENDENCIES = SOCKET_WRAPPER LIBCLI_COMPOSITE #LIBCLI_RESOLVE diff --git a/source4/lib/socket/connect_multi.c b/source4/lib/socket/connect_multi.c index 9f060767af..6c3c6a5a66 100644 --- a/source4/lib/socket/connect_multi.c +++ b/source4/lib/socket/connect_multi.c @@ -63,7 +63,7 @@ static void continue_one(struct composite_context *creq); /* setup an async socket_connect, with multiple ports */ -struct composite_context *socket_connect_multi_send(TALLOC_CTX *mem_ctx, +_PUBLIC_ struct composite_context *socket_connect_multi_send(TALLOC_CTX *mem_ctx, const char *server_address, int num_server_ports, uint16_t *server_ports, @@ -243,7 +243,7 @@ static void continue_one(struct composite_context *creq) /* async recv routine for socket_connect_multi() */ -NTSTATUS socket_connect_multi_recv(struct composite_context *ctx, +_PUBLIC_ NTSTATUS socket_connect_multi_recv(struct composite_context *ctx, TALLOC_CTX *mem_ctx, struct socket_context **sock, uint16_t *port) -- cgit