From 81819f711e6d1f9216f688da8ecbbc682d106d9c Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Thu, 23 Nov 2023 00:52:35 +0100 Subject: LibC: Reduce warnings in code --- userland/libc/unistd/getopt.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'userland/libc/unistd/getopt.c') diff --git a/userland/libc/unistd/getopt.c b/userland/libc/unistd/getopt.c index a026b59..5b13d16 100644 --- a/userland/libc/unistd/getopt.c +++ b/userland/libc/unistd/getopt.c @@ -6,6 +6,9 @@ char *optarg; // https://pubs.opengroup.org/onlinepubs/9699919799/functions/getopt.html int getopt(int argc, char *const argv[], const char *optstring) { + (void)argc; + (void)argv; + (void)optstring; // TODO optind = 1; optarg = NULL; -- cgit v1.2.3