1
0
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:
Volker Lendecke 2009-01-30 23:45:35 +01:00
parent d94e9c802c
commit cee0d85e0b
2 changed files with 6 additions and 12 deletions

View File

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

View File

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