diff options
author | Volker Lendecke <vl@samba.org> | 2011-04-13 15:40:15 +0200 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-04-13 16:25:29 +0200 |
commit | 015511d12a8cc1982249254b8893f83171ec2edf (patch) | |
tree | 02636dd6db10a4f20481df8ee9a70d39af72f84a | |
parent | 94a97bf64cadf39b488158cc379aa0eeb10dbd88 (diff) | |
download | samba-015511d12a8cc1982249254b8893f83171ec2edf.tar.gz samba-015511d12a8cc1982249254b8893f83171ec2edf.tar.bz2 samba-015511d12a8cc1982249254b8893f83171ec2edf.zip |
s3: Make send_nt_replies() static
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Apr 13 16:25:29 CEST 2011 on sn-devel-104
-rw-r--r-- | source3/smbd/nttrans.c | 8 | ||||
-rw-r--r-- | source3/smbd/proto.h | 4 |
2 files changed, 4 insertions, 8 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index 2b540187d9..2dd5715c89 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -52,10 +52,10 @@ static char *nttrans_realloc(char **ptr, size_t size) HACK ! Always assumes smb_setup field is zero. ****************************************************************************/ -void send_nt_replies(connection_struct *conn, - struct smb_request *req, NTSTATUS nt_error, - char *params, int paramsize, - char *pdata, int datasize) +static void send_nt_replies(connection_struct *conn, + struct smb_request *req, NTSTATUS nt_error, + char *params, int paramsize, + char *pdata, int datasize) { int data_to_send = datasize; int params_to_send = paramsize; diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index a0c94b46c6..c097202676 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -504,10 +504,6 @@ void *init_quota_handle(TALLOC_CTX *mem_ctx); /* The following definitions come from smbd/nttrans.c */ -void send_nt_replies(connection_struct *conn, - struct smb_request *req, NTSTATUS nt_error, - char *params, int paramsize, - char *pdata, int datasize); void reply_ntcreate_and_X(struct smb_request *req); NTSTATUS set_sd(files_struct *fsp, uint8_t *data, uint32_t sd_len, uint32_t security_info_sent); |