This commit is contained in:
Andrey Zelenkov
2019-03-11 17:31:59 +03:00
parent dccb4cf354
commit 22de5fcddf
20 changed files with 48 additions and 48 deletions

View File

@@ -13,7 +13,7 @@ ssize_t nxt_hpux_event_conn_io_sendfile(nxt_event_conn_t *c, nxt_buf_t *b,
size_t limit);
static ssize_t nxt_sys_sendfile(int s, int fd, off_t offset, size_t nbytes,
const struct iovec *hdtrl, int flags)
const struct iovec *hdtrl, int flags)
{
return -1;
}
@@ -23,7 +23,7 @@ static ssize_t nxt_sys_sendfile(int s, int fd, off_t offset, size_t nbytes,
/* sendfile() is not declared if _XOPEN_SOURCE_EXTENDED is defined. */
sbsize_t sendfile(int s, int fd, off_t offset, bsize_t nbytes,
const struct iovec *hdtrl, int flags);
const struct iovec *hdtrl, int flags);
#define nxt_sys_sendfile sendfile