From 9ed9946af2501ea2b36f5f9ebe96ce7a92ab6ba0 Mon Sep 17 00:00:00 2001 From: Gitea Date: Thu, 24 Dec 2020 22:37:55 -0600 Subject: [PATCH] I'm pretty sure it's fine in libc --- time/time.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/time/time.c b/time/time.c index c7caf86..0d4d1af 100644 --- a/time/time.c +++ b/time/time.c @@ -1,8 +1,5 @@ #include - -#ifdef __is_libk #include -#endif unsigned int get_days(unsigned int year, unsigned char month, unsigned char day) { unsigned int tot_days = day - 1; @@ -26,11 +23,7 @@ unsigned int get_days(unsigned int year, unsigned char month, unsigned char day) time_t time(time_t * tloc) { time_t ret_val; - #ifdef __is_libk ret_val = read_rtc(); - #else - /* TODO: Implement system calls for this stuff */ - #endif if(tloc != 0) { *tloc = ret_val;