From b5cd18739a64c8d923a55b61c89ae3900faafd84 Mon Sep 17 00:00:00 2001 From: Kacper Date: Tue, 9 Dec 2025 21:17:12 +0100 Subject: Fix include paths and formatting inconsistencies --- lib/libc/sem/semctl.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'lib/libc/sem/semctl.c') diff --git a/lib/libc/sem/semctl.c b/lib/libc/sem/semctl.c index 78a1adf8..45b6d0e5 100644 --- a/lib/libc/sem/semctl.c +++ b/lib/libc/sem/semctl.c @@ -1,8 +1,10 @@ -#include -#include -#include -#include -#include +#include "asm/unistd_64.h" // for __NR_semctl + +#include // for va_arg, va_end, va_list, va_start +#include // for NULL +#include // for IPC_SET, IPC_STAT +#include // for GETALL, SETALL, SETVAL, semctl +#include // for __syscall_4, syscall int semctl(int semid, int semnum, int cmd, ...) { -- cgit v1.2.3