From 93570491712bf42b5c8dba825e7d2a40e71c0378 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 20 Jul 2009 15:15:08 -0700 Subject: Make cli_send_mailslot() static. Preparing to do away with unexpected.tdb.... Jeremy. --- source3/include/proto.h | 7 ------- source3/libsmb/clidgram.c | 3 +-- 2 files changed, 1 insertion(+), 9 deletions(-) (limited to 'source3') diff --git a/source3/include/proto.h b/source3/include/proto.h index d68aa4b619..695e14b53c 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2270,13 +2270,6 @@ bool cli_resolve_path(TALLOC_CTX *ctx, /* The following definitions come from libsmb/clidgram.c */ -bool cli_send_mailslot(struct messaging_context *msg_ctx, - bool unique, const char *mailslot, - uint16 priority, - char *buf, int len, - const char *srcname, int src_type, - const char *dstname, int dest_type, - const struct sockaddr_storage *dest_ss); bool send_getdc_request(TALLOC_CTX *mem_ctx, struct messaging_context *msg_ctx, struct sockaddr_storage *dc_ss, diff --git a/source3/libsmb/clidgram.c b/source3/libsmb/clidgram.c index 349a8331b4..f5dbd72f22 100644 --- a/source3/libsmb/clidgram.c +++ b/source3/libsmb/clidgram.c @@ -25,7 +25,7 @@ * cli_send_mailslot, send a mailslot for client code ... */ -bool cli_send_mailslot(struct messaging_context *msg_ctx, +static bool cli_send_mailslot(struct messaging_context *msg_ctx, bool unique, const char *mailslot, uint16 priority, char *buf, int len, @@ -309,4 +309,3 @@ bool receive_getdc_response(TALLOC_CTX *mem_ctx, return True; } - -- cgit