forked from KolibriOS/kolibrios
libc.obj:
- restructured ksys.h git-svn-id: svn://kolibrios.org@9093 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
ae553821c2
commit
e10c8c25cc
@ -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
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user