summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_dfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpc_server/srv_dfs.c')
-rw-r--r--source3/rpc_server/srv_dfs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_dfs.c b/source3/rpc_server/srv_dfs.c
index 0807efd550..f6e9ca3d56 100644
--- a/source3/rpc_server/srv_dfs.c
+++ b/source3/rpc_server/srv_dfs.c
@@ -158,7 +158,11 @@ static BOOL api_dfs_enum(pipes_struct *p)
\pipe\netdfs commands
********************************************************************/
+#ifdef RPC_DFS_DYNAMIC
+int rpc_pipe_init(void)
+#else
int rpc_dfs_init(void)
+#endif
{
struct api_struct api_netdfs_cmds[] =
{