Make cli_send_mailslot() static. Preparing to do away with unexpected.tdb....
authorJeremy Allison <jra@samba.org>
Mon, 20 Jul 2009 22:15:08 +0000 (15:15 -0700)
committerJeremy Allison <jra@samba.org>
Mon, 20 Jul 2009 22:15:08 +0000 (15:15 -0700)
Jeremy.

source3/include/proto.h
source3/libsmb/clidgram.c

index d68aa4b6199c9872577979b9188c3ae890f52a09..695e14b53c7af6989246247a2cc0d97c089e3273 100644 (file)
@@ -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,
index 349a8331b47c97e2091800d66245aeb28d4deb5d..f5dbd72f22103842c83ba66edba75974bf5bbc5a 100644 (file)
@@ -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;
 }
-