From b71610eb09a799560f1c4d42be82e3100a9d6d9a Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 25 Aug 2009 09:09:13 +0000 Subject: *) move small declarations in appropriate places and delete the surplus header files *) delete insignificant comments --- src/os/unix/ngx_aio_read.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/os/unix/ngx_aio_read.c') diff --git a/src/os/unix/ngx_aio_read.c b/src/os/unix/ngx_aio_read.c index 206f0efb2..1e41bac5f 100644 --- a/src/os/unix/ngx_aio_read.c +++ b/src/os/unix/ngx_aio_read.c @@ -7,20 +7,10 @@ #include #include #include -#include -#if (NGX_HAVE_KQUEUE) -#include -#endif +extern int ngx_kqueue; -/* - * the ready data requires 3 syscalls: - * aio_write(), aio_error(), aio_return() - * the non-ready data requires 4 (kqueue) or 5 syscalls: - * aio_write(), aio_error(), notifiction, aio_error(), aio_return() - * timeout, aio_cancel(), aio_error() - */ ssize_t ngx_aio_read(ngx_connection_t *c, u_char *buf, size_t size) -- cgit v1.2.3