-/* $OpenBSD: uipc_proto.c,v 1.19 2021/05/25 22:45:09 bluhm Exp $ */
+/* $OpenBSD: uipc_proto.c,v 1.20 2021/05/30 21:01:27 bluhm Exp $ */
/* $NetBSD: uipc_proto.c,v 1.8 1996/02/13 21:10:47 christos Exp $ */
/*-
* Definitions of protocols supported in the UNIX domain.
*/
-struct protosw unixsw[] = {
+const struct protosw unixsw[] = {
{
.pr_type = SOCK_STREAM,
.pr_domain = &unixdomain,
-/* $OpenBSD: pfkeyv2.c,v 1.214 2021/05/26 08:28:34 mvs Exp $ */
+/* $OpenBSD: pfkeyv2.c,v 1.215 2021/05/30 21:01:27 bluhm Exp $ */
/*
* @(#)COPYRIGHT 1.1 (NRL) 17 January 1995
return (0);
}
-static struct protosw pfkeysw[] = {
+const struct protosw pfkeysw[] = {
{
.pr_type = SOCK_RAW,
.pr_domain = &pfkeydomain,
-/* $OpenBSD: rtsock.c,v 1.316 2021/05/25 22:45:09 bluhm Exp $ */
+/* $OpenBSD: rtsock.c,v 1.317 2021/05/30 21:01:27 bluhm Exp $ */
/* $NetBSD: rtsock.c,v 1.18 1996/03/29 00:32:10 cgd Exp $ */
/*
* Definitions of protocols supported in the ROUTE domain.
*/
-struct protosw routesw[] = {
+const struct protosw routesw[] = {
{
.pr_type = SOCK_RAW,
.pr_domain = &routedomain,