summaryrefslogtreecommitdiff
path: root/crypto/openssh/dispatch.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2006-09-30 13:29:51 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2006-09-30 13:29:51 +0000
commit761efaa70c2ed8d35722b7bc234a46bf2457f876 (patch)
treebba6f2fe7855d7b0095f9dc7720dc27bea4d1fdf /crypto/openssh/dispatch.c
parent30c2033ae748d441213eed2e5c3fae760cc8ea61 (diff)
downloadsrc-test2-761efaa70c2ed8d35722b7bc234a46bf2457f876.tar.gz
src-test2-761efaa70c2ed8d35722b7bc234a46bf2457f876.zip
Notes
Diffstat (limited to 'crypto/openssh/dispatch.c')
-rw-r--r--crypto/openssh/dispatch.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/crypto/openssh/dispatch.c b/crypto/openssh/dispatch.c
index c5ff65031f25..d6b63be4b7ff 100644
--- a/crypto/openssh/dispatch.c
+++ b/crypto/openssh/dispatch.c
@@ -1,3 +1,4 @@
+/* $OpenBSD: dispatch.c,v 1.21 2006/08/03 03:34:42 deraadt Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
*
@@ -21,8 +22,13 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#include "includes.h"
-RCSID("$OpenBSD: dispatch.c,v 1.16 2003/04/08 20:21:28 itojun Exp $");
+
+#include <sys/types.h>
+
+#include <signal.h>
+#include <stdarg.h>
#include "ssh1.h"
#include "ssh2.h"
@@ -76,7 +82,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;