diff options
author | Anton Kling <anton@kling.gg> | 2023-11-23 00:52:35 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2023-11-23 00:52:35 +0100 |
commit | 81819f711e6d1f9216f688da8ecbbc682d106d9c (patch) | |
tree | 0f0df7c43cc5bc956c2c067e55766bfa90823a7f /userland/libc/time/clock_gettime.c | |
parent | ec91e81a4fcfd7ee6bc4150f06d8740e82f808da (diff) |
LibC: Reduce warnings in code
Diffstat (limited to 'userland/libc/time/clock_gettime.c')
-rw-r--r-- | userland/libc/time/clock_gettime.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/userland/libc/time/clock_gettime.c b/userland/libc/time/clock_gettime.c index 15f0cb7..492b968 100644 --- a/userland/libc/time/clock_gettime.c +++ b/userland/libc/time/clock_gettime.c @@ -2,6 +2,7 @@ #include <time.h> int clock_gettime(clockid_t clock_id, struct timespec *tp) { + (void)clock_id; tp->tv_sec = 0; tp->tv_nsec = 0; return 0; |