summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2024-11-06 17:43:54 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2024-11-06 17:43:54 +0000
commit83352eea8946ea15582d35f5598dbcb51a3f4300 (patch)
tree541f8b658c1fc2331da5d669000ac079ce19df2b /regress
parent03e298a20194e6e35f3fd1a58fbb9c3eab892504 (diff)
Fix function declaration to be less arcane.
Diffstat (limited to 'regress')
-rw-r--r--regress/sys/kern/unfdpass/unfdpass.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/regress/sys/kern/unfdpass/unfdpass.c b/regress/sys/kern/unfdpass/unfdpass.c
index 0375a01502e..f0f76c249c7 100644
--- a/regress/sys/kern/unfdpass/unfdpass.c
+++ b/regress/sys/kern/unfdpass/unfdpass.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: unfdpass.c,v 1.24 2023/03/08 04:43:06 guenther Exp $ */
+/* $OpenBSD: unfdpass.c,v 1.25 2024/11/06 17:43:53 claudio Exp $ */
/* $NetBSD: unfdpass.c,v 1.3 1998/06/24 23:51:30 thorpej Exp $ */
/*-
@@ -243,8 +243,7 @@ main(int argc, char *argv[])
}
void
-catch_sigchld(sig)
- int sig;
+catch_sigchld(int sig)
{
int save_errno = errno;
int status;