summaryrefslogtreecommitdiff
path: root/regress/sys/kern
diff options
context:
space:
mode:
authorVitaliy Makkoveev <mvs@cvs.openbsd.org>2024-03-23 01:35:58 +0000
committerVitaliy Makkoveev <mvs@cvs.openbsd.org>2024-03-23 01:35:58 +0000
commitce4861cc04ce41a5d051f9551b2f6ebdb1d885db (patch)
treeab475441842f5693beef2503daa7c45c7a49f69b /regress/sys/kern
parent9a2e3231b0bae7e4c933827c312519410d7f6f0e (diff)
Fix main() definition.
Diffstat (limited to 'regress/sys/kern')
-rw-r--r--regress/sys/kern/unixsockets/unixsock_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/sys/kern/unixsockets/unixsock_test.c b/regress/sys/kern/unixsockets/unixsock_test.c
index 7c91660c1a6..75e8eaf6838 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.2 2021/12/15 20:41:28 bluhm Exp $ */
+/* $OpenBSD: unixsock_test.c,v 1.3 2024/03/23 01:35:57 mvs Exp $ */
/* Written by Claudio Jeker in 2011 */
/* Public domain */
#include <sys/types.h>
@@ -77,7 +77,7 @@ struct test {
};
int
-main()
+main(void)
{
struct sockaddr_storage ss;
struct sockaddr_un *sun, sun2;