Renamed tm struct
This commit is contained in:
parent
7c2f306cb2
commit
d0e4897dd1
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@
|
||||||
#include <types/locale_t.h>
|
#include <types/locale_t.h>
|
||||||
#include <types/pid_t.h>
|
#include <types/pid_t.h>
|
||||||
|
|
||||||
typedef struct _time {
|
struct tm{
|
||||||
unsigned int tm_sec : 6;
|
unsigned int tm_sec : 6;
|
||||||
unsigned int tm_min : 6;
|
unsigned int tm_min : 6;
|
||||||
unsigned int tm_hour : 5;
|
unsigned int tm_hour : 5;
|
||||||
|
@ -23,7 +23,7 @@ typedef struct _time {
|
||||||
unsigned int tm_wday : 3;
|
unsigned int tm_wday : 3;
|
||||||
unsigned int tm_yday : 9;
|
unsigned int tm_yday : 9;
|
||||||
int tm_isdst : 2;
|
int tm_isdst : 2;
|
||||||
} tm;
|
};
|
||||||
|
|
||||||
time_t time(time_t *);
|
time_t time(time_t *);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue