libc.obj:

- restructured ksys.h

git-svn-id: svn://kolibrios.org@9093 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
turbocat 2021-07-26 23:42:35 +00:00
parent ae553821c2
commit e10c8c25cc
3 changed files with 930 additions and 587 deletions

View File

@ -34,7 +34,6 @@
#include <stdarg.h>
#include <stddef.h>
#include <sys/ksys.h>
extern int _FUNC(puts)(const char *str);
extern int _FUNC(printf)(const char* format, ...);

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,7 @@ static struct tm __buffertime;
time_t time(time_t *timer){
int kos_date, kos_time;
kos_date = _ksys_get_date();
kos_date = _ksys_get_date().val;
kos_time = _ksys_get_clock();
int bcd_day = (kos_date >> 16);
@ -31,4 +31,4 @@ time_t time(time_t *timer){
}
return ret;
}
}