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 <stdarg.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <sys/ksys.h>
|
|
||||||
|
|
||||||
extern int _FUNC(puts)(const char *str);
|
extern int _FUNC(puts)(const char *str);
|
||||||
extern int _FUNC(printf)(const char* format, ...);
|
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){
|
time_t time(time_t *timer){
|
||||||
int kos_date, kos_time;
|
int kos_date, kos_time;
|
||||||
kos_date = _ksys_get_date();
|
kos_date = _ksys_get_date().val;
|
||||||
kos_time = _ksys_get_clock();
|
kos_time = _ksys_get_clock();
|
||||||
|
|
||||||
int bcd_day = (kos_date >> 16);
|
int bcd_day = (kos_date >> 16);
|
||||||
|
Loading…
Reference in New Issue
Block a user