From eb1e23dd9ebbf8f2d8c2212ec8c161919ba84d67 Mon Sep 17 00:00:00 2001 From: Bob Beck Date: Wed, 27 Nov 2019 17:59:14 +0000 Subject: use correct forward type declaration from uvm. ok kettenis@ --- sys/net/ppp_tty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/net') 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 */ -- cgit v1.2.3