summaryrefslogtreecommitdiff
path: root/deps/uv/src/unix/signal.c
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2013-03-29 16:10:56 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2013-03-29 16:10:56 +0100
commit87f9ece334953bcf0f2d07811728df72cb572ea3 (patch)
tree495dcec91865d6feef451631b2d82f9d547e82fa /deps/uv/src/unix/signal.c
parent74ef94907277d8aa29d23cef29aee25161960376 (diff)
downloadandroid-node-v8-87f9ece334953bcf0f2d07811728df72cb572ea3.tar.gz
android-node-v8-87f9ece334953bcf0f2d07811728df72cb572ea3.tar.bz2
android-node-v8-87f9ece334953bcf0f2d07811728df72cb572ea3.zip
deps: upgrade libuv to c43e851
Diffstat (limited to 'deps/uv/src/unix/signal.c')
-rw-r--r--deps/uv/src/unix/signal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/uv/src/unix/signal.c b/deps/uv/src/unix/signal.c
index f7fd2e5e4f..78a631825c 100644
--- a/deps/uv/src/unix/signal.c
+++ b/deps/uv/src/unix/signal.c
@@ -223,14 +223,14 @@ static int uv__signal_loop_once_init(uv_loop_t* loop) {
void uv__signal_loop_cleanup(uv_loop_t* loop) {
- ngx_queue_t* q;
+ QUEUE* q;
/* Stop all the signal watchers that are still attached to this loop. This
* ensures that the (shared) signal tree doesn't contain any invalid entries
* entries, and that signal handlers are removed when appropriate.
*/
- ngx_queue_foreach(q, &loop->handle_queue) {
- uv_handle_t* handle = ngx_queue_data(q, uv_handle_t, handle_queue);
+ QUEUE_FOREACH(q, &loop->handle_queue) {
+ uv_handle_t* handle = QUEUE_DATA(q, uv_handle_t, handle_queue);
if (handle->type == UV_SIGNAL)
uv__signal_stop((uv_signal_t*) handle);