summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1999-02-15 19:30:49 +0000
committermillert <millert@openbsd.org>1999-02-15 19:30:49 +0000
commit027035333b46d7fff0149695f1e82d0add1af9de (patch)
tree4bd879bd894ef8e4578ac8a581660fc0fd9fc527
parentpasto (diff)
downloadwireguard-openbsd-027035333b46d7fff0149695f1e82d0add1af9de.tar.xz
wireguard-openbsd-027035333b46d7fff0149695f1e82d0add1af9de.zip
sockargs() uses socklen_t for length param
-rw-r--r--sys/sys/socketvar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/socketvar.h b/sys/sys/socketvar.h
index a5613e8dd6f..3abcdf73fcd 100644
--- a/sys/sys/socketvar.h
+++ b/sys/sys/socketvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: socketvar.h,v 1.13 1999/01/21 03:27:43 millert Exp $ */
+/* $OpenBSD: socketvar.h,v 1.14 1999/02/15 19:30:49 millert Exp $ */
/* $NetBSD: socketvar.h,v 1.18 1996/02/09 18:25:38 christos Exp $ */
/*-
@@ -275,7 +275,7 @@ int sosetopt __P((struct socket *so, int level, int optname,
struct mbuf *m0));
int soshutdown __P((struct socket *so, int how));
void sowakeup __P((struct socket *so, struct sockbuf *sb));
-int sockargs __P((struct mbuf **, caddr_t, int, int));
+int sockargs __P((struct mbuf **, caddr_t, socklen_t, int));
int sendit __P((struct proc *, int, struct msghdr *, int, register_t *));
int recvit __P((struct proc *, int, struct msghdr *, caddr_t,