summaryrefslogtreecommitdiff
path: root/opacket.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2019-01-19 21:31:32 +0000
committerDamien Miller <djm@mindrot.org>2019-01-20 09:02:10 +1100
commit0fa174ebe129f3d0aeaf4e2d1dd8de745870d0ff (patch)
tree8ce7eacecf1200d6cb95cd01e87416cc6a3b1af7 /opacket.c
parent4ae7f80dfd02f2bde912a67c9f338f61e90fa79f (diff)
upstream: 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@ OpenBSD-Commit-ID: 93c98a6b38f6911fd1ae025a1ec57807fb4d4ef4
Diffstat (limited to 'opacket.c')
-rw-r--r--opacket.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/opacket.c b/opacket.c
index e637d7a71..56a76939e 100644
--- a/opacket.c
+++ b/opacket.c
@@ -2,11 +2,12 @@
2/* Written by Markus Friedl. Placed in the public domain. */ 2/* Written by Markus Friedl. Placed in the public domain. */
3 3
4#include "includes.h" 4#include "includes.h"
5 5/* $OpenBSD: opacket.c,v 1.8 2019/01/19 21:31:32 djm Exp $ */
6#include <stdarg.h> 6#include <stdarg.h>
7 7
8#include "ssherr.h" 8#include "ssherr.h"
9#include "packet.h" 9#include "packet.h"
10#include "opacket.h" /* XXX */
10#include "log.h" 11#include "log.h"
11 12
12struct ssh *active_state, *backup_state; 13struct ssh *active_state, *backup_state;