summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorVitaliy Makkoveev <mvs@cvs.openbsd.org>2022-09-05 10:31:26 +0000
committerVitaliy Makkoveev <mvs@cvs.openbsd.org>2022-09-05 10:31:26 +0000
commit3f05a6be8950391d9e45a5a350939551509f7a69 (patch)
tree2120ad97ff5b772e7593a69835732d1d5e35bd9d /sys/net
parent951c72721a7de0983a945d53d74fd1dad8a0f8ac (diff)
Add missing prototypes for route_attach() and route_detach().
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/rtsock.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c
index 2e31020c5c6..ffb8f8bc7be 100644
--- a/sys/net/rtsock.c
+++ b/sys/net/rtsock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtsock.c,v 1.353 2022/09/03 22:43:38 mvs Exp $ */
+/* $OpenBSD: rtsock.c,v 1.354 2022/09/05 10:31:25 mvs Exp $ */
/* $NetBSD: rtsock.c,v 1.18 1996/03/29 00:32:10 cgd Exp $ */
/*
@@ -111,6 +111,8 @@ void rcb_ref(void *, void *);
void rcb_unref(void *, void *);
int route_output(struct mbuf *, struct socket *);
int route_ctloutput(int, struct socket *, int, int, struct mbuf *);
+int route_attach(struct socket *, int);
+int route_detach(struct socket *);
int route_disconnect(struct socket *);
int route_shutdown(struct socket *);
int route_rcvd(struct socket *);