From 16def87b5e6271c8c5aee09781414455f1eaa7d1 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 16 Mar 2009 20:23:37 +0100 Subject: [PATCH] Make struct wb_context private to wbclient.c --- source3/include/wbc_async.h | 6 +----- source3/lib/wbclient.c | 6 ++++++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/source3/include/wbc_async.h b/source3/include/wbc_async.h index fd9b669710c..987c32320cd 100644 --- a/source3/include/wbc_async.h +++ b/source3/include/wbc_async.h @@ -22,11 +22,7 @@ #include "nsswitch/libwbclient/wbclient.h" -struct wb_context { - struct async_req_queue *queue; - int fd; - bool is_priv; -}; +struct wb_context; struct async_req *wb_trans_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct wb_context *wb_ctx, bool need_priv, diff --git a/source3/lib/wbclient.c b/source3/lib/wbclient.c index c2042c23e03..b1a44497343 100644 --- a/source3/lib/wbclient.c +++ b/source3/lib/wbclient.c @@ -20,6 +20,12 @@ #include "includes.h" #include "wbc_async.h" +struct wb_context { + struct async_req_queue *queue; + int fd; + bool is_priv; +}; + static int make_nonstd_fd(int fd) { int i; -- 2.11.4.GIT