summaryrefslogtreecommitdiffstats
path: root/dispatch.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-04-23 12:08:37 +1000
committerDamien Miller <djm@mindrot.org>2006-04-23 12:08:37 +1000
commit97c91f688fa8f8d67bbe2e0aa0feb912fc3c00ef (patch)
tree2fdcbfd35755abb791bbc8e899686b32e838a855 /dispatch.h
parent58629fad824ebe0a10974930778beff455f41aea (diff)
- djm@cvs.openbsd.org 2006/04/20 09:27:09
[auth.h clientloop.c dispatch.c dispatch.h kex.h] 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 'dispatch.h')
-rw-r--r--dispatch.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dispatch.h b/dispatch.h
index b33288f6..4bca8a5a 100644
--- a/dispatch.h
+++ b/dispatch.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dispatch.h,v 1.10 2006/03/25 22:22:43 djm Exp $ */
+/* $OpenBSD: dispatch.h,v 1.11 2006/04/20 09:27:09 djm Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -33,6 +33,6 @@ typedef void dispatch_fn(int, u_int32_t, void *);
void dispatch_init(dispatch_fn *);
void dispatch_set(int, dispatch_fn *);
void dispatch_range(u_int, u_int, dispatch_fn *);
-void dispatch_run(int, int *, void *);
+void dispatch_run(int, volatile sig_atomic_t *, void *);
void dispatch_protocol_error(int, u_int32_t, void *);
void dispatch_protocol_ignore(int, u_int32_t, void *);