summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-02-13 16:40:17 +0100
committerMichael Adam <obnox@samba.org>2009-02-17 18:21:53 +0100
commit2feaaa885a485adb11096cdfc3db223f3b73e1a6 (patch)
treeba84f2a27a13cf504b18880c1d03ba84fab23e1e /source3
parent08bef5bba042843cbfc41f1ed701243140dcf298 (diff)
downloadsamba-2feaaa885a485adb11096cdfc3db223f3b73e1a6.tar.gz
samba-2feaaa885a485adb11096cdfc3db223f3b73e1a6.tar.bz2
samba-2feaaa885a485adb11096cdfc3db223f3b73e1a6.zip
s3:winbindd: make do_async_domain() static.
Michael
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd_async.c12
-rw-r--r--source3/winbindd/winbindd_proto.h6
2 files changed, 6 insertions, 12 deletions
diff --git a/source3/winbindd/winbindd_async.c b/source3/winbindd/winbindd_async.c
index 0271abbd2b..b5c432ff90 100644
--- a/source3/winbindd/winbindd_async.c
+++ b/source3/winbindd/winbindd_async.c
@@ -84,12 +84,12 @@ void do_async(TALLOC_CTX *mem_ctx, struct winbindd_child *child,
&state->response, do_async_recv, state);
}
-void do_async_domain(TALLOC_CTX *mem_ctx, struct winbindd_domain *domain,
- const struct winbindd_request *request,
- void (*cont)(TALLOC_CTX *mem_ctx, bool success,
- struct winbindd_response *response,
- void *c, void *private_data),
- void *c, void *private_data)
+static void do_async_domain(TALLOC_CTX *mem_ctx, struct winbindd_domain *domain,
+ const struct winbindd_request *request,
+ void (*cont)(TALLOC_CTX *mem_ctx, bool success,
+ struct winbindd_response *response,
+ void *c, void *private_data),
+ void *c, void *private_data)
{
struct do_async_state *state;
diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h
index 5120402e3d..c6e8803ce8 100644
--- a/source3/winbindd/winbindd_proto.h
+++ b/source3/winbindd/winbindd_proto.h
@@ -78,12 +78,6 @@ void do_async(TALLOC_CTX *mem_ctx, struct winbindd_child *child,
struct winbindd_response *response,
void *c, void *private_data),
void *c, void *private_data);
-void do_async_domain(TALLOC_CTX *mem_ctx, struct winbindd_domain *domain,
- const struct winbindd_request *request,
- void (*cont)(TALLOC_CTX *mem_ctx, bool success,
- struct winbindd_response *response,
- void *c, void *private_data),
- void *c, void *private_data);
void winbindd_lookupsid_async(TALLOC_CTX *mem_ctx, const DOM_SID *sid,
void (*cont)(void *private_data, bool success,
const char *dom_name,