From f5132d06a0b64c141b66a15602c06fab4f64a875 Mon Sep 17 00:00:00 2001 From: bluhm Date: Wed, 15 Dec 2021 20:41:28 +0000 Subject: [PATCH] Fix compiler warning. ok mvs@ --- regress/sys/kern/unixsockets/unixsock_test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/regress/sys/kern/unixsockets/unixsock_test.c b/regress/sys/kern/unixsockets/unixsock_test.c index b8503a769f4..7c91660c1a6 100644 --- a/regress/sys/kern/unixsockets/unixsock_test.c +++ b/regress/sys/kern/unixsockets/unixsock_test.c @@ -1,4 +1,4 @@ -/* $OpenBSD: unixsock_test.c,v 1.1 2021/12/14 15:57:57 mvs Exp $ */ +/* $OpenBSD: unixsock_test.c,v 1.2 2021/12/15 20:41:28 bluhm Exp $ */ /* Written by Claudio Jeker in 2011 */ /* Public domain */ #include @@ -16,7 +16,7 @@ char path[1024]; char *dir; -int +static int test_bind(struct sockaddr_un *sun, socklen_t slen) { int s, e, r; @@ -34,7 +34,7 @@ test_bind(struct sockaddr_un *sun, socklen_t slen) return r; } -int +static int test_connect(struct sockaddr_un *sun, socklen_t slen, struct sockaddr_un *b) { int s, s2, e, r; -- 2.20.1