summaryrefslogtreecommitdiffhomepage
path: root/src/event/modules/ngx_aio_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-11-07 13:54:40 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-11-07 13:54:40 +0000
commit1831fb16b7fd8c45e5fb012b06a82311eeae6061 (patch)
tree3d9de72454f4a059e5da0b8c3d4abbd03959bc0f /src/event/modules/ngx_aio_module.c
parentce87ce477e9c349fbff1d30e3a45a8f0cc928ef6 (diff)
downloadnginx-1831fb16b7fd8c45e5fb012b06a82311eeae6061.tar.gz
nginx-1831fb16b7fd8c45e5fb012b06a82311eeae6061.tar.bz2
r1355, r1471, r1600 merge:
make 64-bit ngx_int_t on 64-bit platforms
Diffstat (limited to 'src/event/modules/ngx_aio_module.c')
-rw-r--r--src/event/modules/ngx_aio_module.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/event/modules/ngx_aio_module.c b/src/event/modules/ngx_aio_module.c
index 1022643e8..4a78c3991 100644
--- a/src/event/modules/ngx_aio_module.c
+++ b/src/event/modules/ngx_aio_module.c
@@ -16,9 +16,11 @@
static ngx_int_t ngx_aio_init(ngx_cycle_t *cycle, ngx_msec_t timer);
static void ngx_aio_done(ngx_cycle_t *cycle);
-static ngx_int_t ngx_aio_add_event(ngx_event_t *ev, int event, u_int flags);
-static ngx_int_t ngx_aio_del_event(ngx_event_t *ev, int event, u_int flags);
-static ngx_int_t ngx_aio_del_connection(ngx_connection_t *c, u_int flags);
+static ngx_int_t ngx_aio_add_event(ngx_event_t *ev, ngx_int_t event,
+ ngx_uint_t flags);
+static ngx_int_t ngx_aio_del_event(ngx_event_t *ev, ngx_int_t event,
+ ngx_uint_t flags);
+static ngx_int_t ngx_aio_del_connection(ngx_connection_t *c, ngx_uint_t flags);
static ngx_int_t ngx_aio_process_events(ngx_cycle_t *cycle, ngx_msec_t timer,
ngx_uint_t flags);
@@ -100,21 +102,21 @@ ngx_aio_done(ngx_cycle_t *cycle)
/* the event adding and deleting are needed for the listening sockets */
static ngx_int_t
-ngx_aio_add_event(ngx_event_t *ev, int event, u_int flags)
+ngx_aio_add_event(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags)
{
return ngx_kqueue_module_ctx.actions.add(ev, event, flags);
}
static ngx_int_t
-ngx_aio_del_event(ngx_event_t *ev, int event, u_int flags)
+ngx_aio_del_event(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags)
{
return ngx_kqueue_module_ctx.actions.del(ev, event, flags);
}
static ngx_int_t
-ngx_aio_del_connection(ngx_connection_t *c, u_int flags)
+ngx_aio_del_connection(ngx_connection_t *c, ngx_uint_t flags)
{
int rc;