summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-07-20 15:15:08 -0700
committerJeremy Allison <jra@samba.org>2009-07-20 15:15:08 -0700
commit93570491712bf42b5c8dba825e7d2a40e71c0378 (patch)
tree0685a2b34c863a26ec1e94078cc567175772cefa
parent54a51839ea65aa788b18fce8de0ae4f9ba63e4e7 (diff)
downloadsamba-93570491712bf42b5c8dba825e7d2a40e71c0378.tar.gz
samba-93570491712bf42b5c8dba825e7d2a40e71c0378.tar.bz2
samba-93570491712bf42b5c8dba825e7d2a40e71c0378.zip
Make cli_send_mailslot() static. Preparing to do away with unexpected.tdb....
Jeremy.
-rw-r--r--source3/include/proto.h7
-rw-r--r--source3/libsmb/clidgram.c3
2 files changed, 1 insertions, 9 deletions
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;
}
-