From a454a4ee0c50d2a9f4eb340d4a9ec60b9e089c9a Mon Sep 17 00:00:00 2001 From: dzwdz Date: Wed, 16 Aug 2023 14:49:35 +0200 Subject: libc: "fix" unused argument warnings --- src/libc/elfload.c | 1 + src/libc/signal.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/libc/elfload.c b/src/libc/elfload.c index c1a08f8..66144bb 100644 --- a/src/libc/elfload.c +++ b/src/libc/elfload.c @@ -90,6 +90,7 @@ void _freejmp(void *entry, void *low, size_t imglen, const char **argv, char **e struct execdata ed; size_t argv_len; size_t cwd_len = absolutepath(NULL, NULL, 0); + (void)envp; if (!argv) argv = default_argv; diff --git a/src/libc/signal.c b/src/libc/signal.c index 3200263..cc280a6 100644 --- a/src/libc/signal.c +++ b/src/libc/signal.c @@ -76,6 +76,7 @@ int sigfillset(sigset_t *set) { } int sigprocmask(int how, const sigset_t *set, const sigset_t *oldset) { + (void)how; (void)set; (void)oldset; return 0; } -- cgit v1.2.3