summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-01-21 13:58:39 +0100
committerVolker Lendecke <vl@samba.org>2010-01-21 14:08:27 +0100
commit33e397f9fde1346d4f6488128efcd6ecba06143c (patch)
treef24816abc38a38e4f9555bbb942ba3ded7eaab17 /source3
parentfb4679638d03a555c722c08ee1de121fc8ff23f1 (diff)
downloadsamba-33e397f9fde1346d4f6488128efcd6ecba06143c.tar.gz
samba-33e397f9fde1346d4f6488128efcd6ecba06143c.tar.bz2
samba-33e397f9fde1346d4f6488128efcd6ecba06143c.zip
s3: Make "init_smb_request" static to process.c
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h4
-rw-r--r--source3/smbd/process.c6
2 files changed, 2 insertions, 8 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 4d5ebca63f..c3f0dff469 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -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);
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 572f37dbbe..44d53b23b6 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -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;