diff options
author | markus@openbsd.org <markus@openbsd.org> | 2017-05-31 07:00:13 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2017-06-01 14:53:33 +1000 |
commit | 92e9fe633130376a95dd533df6e5e6a578c1e6b8 (patch) | |
tree | c6f037e447c3c6fe4d79a71fb5a14f712f739617 /dispatch.h | |
parent | 17ad5b346043c5bbc5befa864d0dbeb76be39390 (diff) |
upstream commit
remove now obsolete ctx from ssh_dispatch_run; ok djm@
Upstream-ID: 9870aabf7f4d71660c31fda91b942b19a8e68d29
Diffstat (limited to 'dispatch.h')
-rw-r--r-- | dispatch.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/dispatch.h b/dispatch.h index 7dfc74ee3..17a6f3db6 100644 --- a/dispatch.h +++ b/dispatch.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dispatch.h,v 1.13 2017/05/30 14:23:52 markus Exp $ */ | 1 | /* $OpenBSD: dispatch.h,v 1.14 2017/05/31 07:00:13 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
@@ -43,8 +43,8 @@ int dispatch_protocol_ignore(int, u_int32_t, struct ssh *); | |||
43 | void ssh_dispatch_init(struct ssh *, dispatch_fn *); | 43 | void ssh_dispatch_init(struct ssh *, dispatch_fn *); |
44 | void ssh_dispatch_set(struct ssh *, int, dispatch_fn *); | 44 | void ssh_dispatch_set(struct ssh *, int, dispatch_fn *); |
45 | void ssh_dispatch_range(struct ssh *, u_int, u_int, dispatch_fn *); | 45 | void ssh_dispatch_range(struct ssh *, u_int, u_int, dispatch_fn *); |
46 | int ssh_dispatch_run(struct ssh *, int, volatile sig_atomic_t *, void *); | 46 | int ssh_dispatch_run(struct ssh *, int, volatile sig_atomic_t *); |
47 | void ssh_dispatch_run_fatal(struct ssh *, int, volatile sig_atomic_t *, void *); | 47 | void ssh_dispatch_run_fatal(struct ssh *, int, volatile sig_atomic_t *); |
48 | 48 | ||
49 | #define dispatch_init(dflt) \ | 49 | #define dispatch_init(dflt) \ |
50 | ssh_dispatch_init(active_state, (dflt)) | 50 | ssh_dispatch_init(active_state, (dflt)) |
@@ -52,7 +52,5 @@ void ssh_dispatch_run_fatal(struct ssh *, int, volatile sig_atomic_t *, void *); | |||
52 | ssh_dispatch_range(active_state, (from), (to), (fn)) | 52 | ssh_dispatch_range(active_state, (from), (to), (fn)) |
53 | #define dispatch_set(type, fn) \ | 53 | #define dispatch_set(type, fn) \ |
54 | ssh_dispatch_set(active_state, (type), (fn)) | 54 | ssh_dispatch_set(active_state, (type), (fn)) |
55 | #define dispatch_run(mode, done, ctxt) \ | ||
56 | ssh_dispatch_run_fatal(active_state, (mode), (done), (ctxt)) | ||
57 | 55 | ||
58 | #endif | 56 | #endif |