summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh.c
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2019-01-19 21:31:32 +0000
committerdjm <djm@openbsd.org>2019-01-19 21:31:32 +0000
commit8904d296d0abb7289322cfad76e1404fca98f494 (patch)
tree8f77cc3b1568fccba248b4d2692309b8cc4897b4 /usr.bin/ssh/ssh.c
parentSince there is no more exec()'ing, there is no need to (diff)
downloadwireguard-openbsd-8904d296d0abb7289322cfad76e1404fca98f494.tar.xz
wireguard-openbsd-8904d296d0abb7289322cfad76e1404fca98f494.zip
begin landing remaining refactoring of packet parsing API, started
almost exactly six years ago. This change stops including the old packet_* API by default and makes each file that requires the old API include it explicitly. We will commit file-by-file refactoring to remove the old API in consistent steps. with & ok markus@
Diffstat (limited to 'usr.bin/ssh/ssh.c')
-rw-r--r--usr.bin/ssh/ssh.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c
index 5b2572d0a2e..2e6bbda3c87 100644
--- a/usr.bin/ssh/ssh.c
+++ b/usr.bin/ssh/ssh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh.c,v 1.497 2018/12/27 03:25:25 djm Exp $ */
+/* $OpenBSD: ssh.c,v 1.498 2019/01/19 21:31:32 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -102,6 +102,9 @@
#include "ssh-pkcs11.h"
#endif
+#include "opacket.h" /* XXX */
+extern struct ssh *active_state; /* XXX move here */
+
extern char *__progname;
/* Flag indicating whether debug mode is on. May be set on the command line. */