summaryrefslogtreecommitdiff
path: root/dispatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'dispatch.c')
-rw-r--r--dispatch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dispatch.c b/dispatch.c
index eac07b1b3..4f965a62d 100644
--- a/dispatch.c
+++ b/dispatch.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: dispatch.c,v 1.18 2006/03/25 13:17:01 djm Exp $ */ 1/* $OpenBSD: dispatch.c,v 1.19 2006/04/20 09:27:09 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000 Markus Friedl. All rights reserved.
4 * 4 *
@@ -76,7 +76,7 @@ dispatch_set(int type, dispatch_fn *fn)
76 dispatch[type] = fn; 76 dispatch[type] = fn;
77} 77}
78void 78void
79dispatch_run(int mode, int *done, void *ctxt) 79dispatch_run(int mode, volatile sig_atomic_t *done, void *ctxt)
80{ 80{
81 for (;;) { 81 for (;;) {
82 int type; 82 int type;