diff options
Diffstat (limited to 'userland/libc/time')
-rw-r--r-- | userland/libc/time/clock_gettime.c | 1 | ||||
-rw-r--r-- | userland/libc/time/gmtime.c | 1 | ||||
-rw-r--r-- | userland/libc/time/localtime.c | 1 |
3 files changed, 3 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; diff --git a/userland/libc/time/gmtime.c b/userland/libc/time/gmtime.c index 44e0ff3..08af482 100644 --- a/userland/libc/time/gmtime.c +++ b/userland/libc/time/gmtime.c @@ -16,6 +16,7 @@ struct tm gmtime_r = { // https://pubs.opengroup.org/onlinepubs/9699919799/functions/gmtime.html struct tm *gmtime(const time_t *timer) { + (void)timer; // TODO: Implement return &gmtime_r; } diff --git a/userland/libc/time/localtime.c b/userland/libc/time/localtime.c index 40ca351..8ad74d8 100644 --- a/userland/libc/time/localtime.c +++ b/userland/libc/time/localtime.c @@ -16,6 +16,7 @@ // https://pubs.opengroup.org/onlinepubs/9699919799/functions/localtime.html struct tm *localtime(const time_t *timer) { + (void)timer; // TODO: Implement return &localtime_r; } |