diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2006-04-20 09:27:10 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2006-04-20 09:27:10 +0000 |
commit | 78d5ccc3b1d2431c62aeb1829b4211274c580799 (patch) | |
tree | 168eca99e6cf41a35cccb251c37fb01e503df154 /usr.bin/ssh/dispatch.c | |
parent | 5ad890ed94b72757b20151a912be0714277ee0ce (diff) |
replace the last non-sig_atomic_t flag used in a signal handler with a
sig_atomic_t, unfortunately with some knock-on effects in other (non-
signal) contexts in which it is used; ok markus@
Diffstat (limited to 'usr.bin/ssh/dispatch.c')
-rw-r--r-- | usr.bin/ssh/dispatch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/dispatch.c b/usr.bin/ssh/dispatch.c index eac07b1b3ce..4f965a62d57 100644 --- a/usr.bin/ssh/dispatch.c +++ b/usr.bin/ssh/dispatch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dispatch.c,v 1.18 2006/03/25 13:17:01 djm Exp $ */ +/* $OpenBSD: dispatch.c,v 1.19 2006/04/20 09:27:09 djm Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * @@ -76,7 +76,7 @@ dispatch_set(int type, dispatch_fn *fn) dispatch[type] = fn; } void -dispatch_run(int mode, int *done, void *ctxt) +dispatch_run(int mode, volatile sig_atomic_t *done, void *ctxt) { for (;;) { int type; |