mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
make send_file_readbraw static
This commit is contained in:
parent
d94e9c802c
commit
cee0d85e0b
@ -7275,12 +7275,6 @@ void reply_ctemp(struct smb_request *req);
|
||||
NTSTATUS unlink_internals(connection_struct *conn, struct smb_request *req,
|
||||
uint32 dirtype, const char *name_in, bool has_wild);
|
||||
void reply_unlink(struct smb_request *req);
|
||||
void send_file_readbraw(connection_struct *conn,
|
||||
struct smb_request *req,
|
||||
files_struct *fsp,
|
||||
SMB_OFF_T startpos,
|
||||
size_t nread,
|
||||
ssize_t mincount);
|
||||
void reply_readbraw(struct smb_request *req);
|
||||
void reply_lockread(struct smb_request *req);
|
||||
void reply_read(struct smb_request *req);
|
||||
|
@ -2728,12 +2728,12 @@ static void reply_readbraw_error(void)
|
||||
Use sendfile in readbraw.
|
||||
****************************************************************************/
|
||||
|
||||
void send_file_readbraw(connection_struct *conn,
|
||||
struct smb_request *req,
|
||||
files_struct *fsp,
|
||||
SMB_OFF_T startpos,
|
||||
size_t nread,
|
||||
ssize_t mincount)
|
||||
static void send_file_readbraw(connection_struct *conn,
|
||||
struct smb_request *req,
|
||||
files_struct *fsp,
|
||||
SMB_OFF_T startpos,
|
||||
size_t nread,
|
||||
ssize_t mincount)
|
||||
{
|
||||
char *outbuf = NULL;
|
||||
ssize_t ret=0;
|
||||
|
Loading…
Reference in New Issue
Block a user