git: 08d357287b43 - main - sysv: ansify
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 08 Feb 2023 00:11:35 UTC
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=08d357287b4306b24110dc5ff15bcf5d51f79b28 commit 08d357287b4306b24110dc5ff15bcf5d51f79b28 Author: Mateusz Guzik <mjg@FreeBSD.org> AuthorDate: 2023-02-08 00:11:10 +0000 Commit: Mateusz Guzik <mjg@FreeBSD.org> CommitDate: 2023-02-08 00:11:10 +0000 sysv: ansify Reported by: clang 15 Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/kern/sysv_sem.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/sys/kern/sysv_sem.c b/sys/kern/sysv_sem.c index 4104f1343cb7..551651be7c1a 100644 --- a/sys/kern/sysv_sem.c +++ b/sys/kern/sysv_sem.c @@ -1765,16 +1765,7 @@ static sy_call_t *semcalls[] = { * Entry point for all SEM calls. */ int -sys_semsys(td, uap) - struct thread *td; - /* XXX actually varargs. */ - struct semsys_args /* { - int which; - int a2; - int a3; - int a4; - int a5; - } */ *uap; +sys_semsys(struct thread *td, struct semsys_args *uap) { int error;