artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c78bdb9
)
Fix compiler warning.
author
bluhm
<bluhm@openbsd.org>
Wed, 15 Dec 2021 20:41:28 +0000
(20:41 +0000)
committer
bluhm
<bluhm@openbsd.org>
Wed, 15 Dec 2021 20:41:28 +0000
(20:41 +0000)
ok mvs@
regress/sys/kern/unixsockets/unixsock_test.c
patch
|
blob
|
history
diff --git
a/regress/sys/kern/unixsockets/unixsock_test.c
b/regress/sys/kern/unixsockets/unixsock_test.c
index
b8503a7
..
7c91660
100644
(file)
--- 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 <sys/types.h>
@@
-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;