summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_usrreq.c
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2021-05-25 22:45:11 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2021-05-25 22:45:11 +0000
commit879df70c3f9d6dfd798576c79b2dc21ef470c9c2 (patch)
treedfc82cd179c0e9818eca5ee087da3739ff422777 /sys/kern/uipc_usrreq.c
parent389d274508daed57afbbdf7a04db903700e1f7a0 (diff)
As network features are not added dynamically, the domain structures
are constant. Having more const makes MP review easier. More pointers are mapped read-only in the kernel image. OK deraadt@ mvs@
Diffstat (limited to 'sys/kern/uipc_usrreq.c')
-rw-r--r--sys/kern/uipc_usrreq.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/uipc_usrreq.c b/sys/kern/uipc_usrreq.c
index 2dd6d89a252..83e62bad6c1 100644
--- a/sys/kern/uipc_usrreq.c
+++ b/sys/kern/uipc_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_usrreq.c,v 1.147 2021/05/18 11:15:14 mvs Exp $ */
+/* $OpenBSD: uipc_usrreq.c,v 1.148 2021/05/25 22:45:09 bluhm Exp $ */
/* $NetBSD: uipc_usrreq.c,v 1.18 1996/02/09 19:00:50 christos Exp $ */
/*
@@ -792,8 +792,6 @@ unp_drain(void)
}
#endif
-extern struct domain unixdomain;
-
static struct unpcb *
fptounp(struct file *fp)
{