1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

s3: Make "init_smb_request" static to process.c

This commit is contained in:
Volker Lendecke 2010-01-21 13:58:39 +01:00
parent fb4679638d
commit 33e397f9fd
2 changed files with 2 additions and 8 deletions

View 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);

View 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;