s3: Make "init_smb_request" static to process.c
authorVolker Lendecke <vl@samba.org>
Thu, 21 Jan 2010 12:58:39 +0000 (13:58 +0100)
committerVolker Lendecke <vl@samba.org>
Thu, 21 Jan 2010 13:08:27 +0000 (14:08 +0100)
source3/include/proto.h
source3/smbd/process.c

index 4d5ebca63f3f21cc695302ad5bcce84176274410..c3f0dff46948fe712a1087297f0e8a1c47ab98c7 100644 (file)
@@ -6784,10 +6784,6 @@ int srv_set_message(char *buf,
                         int num_words,
                         int num_bytes,
                         bool zero);
-void init_smb_request(struct smb_request *req,
-                       const uint8 *inbuf,
-                       size_t unread_bytes,
-                       bool encrypted);
 void remove_deferred_open_smb_message(uint16 mid);
 void schedule_deferred_open_smb_message(uint16 mid);
 bool open_was_deferred(uint16 mid);
index 572f37dbbebbdbc211ad20ee78cfb471f4a2f9ab..44d53b23b675e64876a79327a9c6fc96e21b6c23 100644 (file)
@@ -366,10 +366,8 @@ static NTSTATUS receive_smb_talloc(TALLOC_CTX *mem_ctx,    int fd,
  * Initialize a struct smb_request from an inbuf
  */
 
-void init_smb_request(struct smb_request *req,
-                       const uint8 *inbuf,
-                       size_t unread_bytes,
-                       bool encrypted)
+static void init_smb_request(struct smb_request *req, const uint8 *inbuf,
+                            size_t unread_bytes, bool encrypted)
 {
        struct smbd_server_connection *sconn = smbd_server_conn;
        size_t req_size = smb_len(inbuf) + 4;