From: anton Date: Tue, 3 Sep 2024 04:59:03 +0000 (+0000) Subject: Fix test_fork() prototype. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=2c5685b9db4928888a1a2384f8eaf0070cec2f29;p=openbsd Fix test_fork() prototype. --- diff --git a/regress/sys/kern/unveil/syscalls.c b/regress/sys/kern/unveil/syscalls.c index 0899aa9f3b2..76fce4fa504 100644 --- a/regress/sys/kern/unveil/syscalls.c +++ b/regress/sys/kern/unveil/syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: syscalls.c,v 1.36 2024/08/23 12:56:26 anton Exp $ */ +/* $OpenBSD: syscalls.c,v 1.37 2024/09/03 04:59:03 anton Exp $ */ /* * Copyright (c) 2017-2019 Bob Beck @@ -679,8 +679,9 @@ test_fork_body(int do_uv) UV_SHOULD_ENOENT((open(uv_file2, O_RDWR|O_CREAT, 0644) == -1), "open after fork"); return 0; } + static int -test_fork() +test_fork(int do_uv) { printf("testing fork inhertiance\n"); do_unveil();