summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2019-11-27 17:59:14 +0000
committerBob Beck <beck@cvs.openbsd.org>2019-11-27 17:59:14 +0000
commiteb1e23dd9ebbf8f2d8c2212ec8c161919ba84d67 (patch)
tree86e095d2d6014c6ab4e179354049efe5a605765c /sys/net
parent3c3aa3531d4c3c02da1fe9669bf1df4a7b557081 (diff)
use correct forward type declaration from uvm.
ok kettenis@
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/ppp_tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/ppp_tty.c b/sys/net/ppp_tty.c
index d3c337c0e09..124b9df59ac 100644
--- a/sys/net/ppp_tty.c
+++ b/sys/net/ppp_tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ppp_tty.c,v 1.52 2019/07/19 00:17:16 cheloha Exp $ */
+/* $OpenBSD: ppp_tty.c,v 1.53 2019/11/27 17:59:13 beck Exp $ */
/* $NetBSD: ppp_tty.c,v 1.12 1997/03/24 21:23:10 christos Exp $ */
/*
@@ -171,7 +171,7 @@ pppopen(dev_t dev, struct tty *tp, struct proc *p)
rw_enter_write(&ppp_pkt_init);
if (ppp_pkts.pr_size == 0) {
- extern struct kmem_pa_mode kp_dma_contig;
+ extern const struct kmem_pa_mode kp_dma_contig;
pool_init(&ppp_pkts, sizeof(struct ppp_pkt), 0,
IPL_TTY, 0, "ppppkts", NULL); /* IPL_SOFTTTY */