Renamed tm struct

This commit is contained in:
Gitea 2020-12-08 18:10:56 -06:00
parent 7c2f306cb2
commit d0e4897dd1

View file

@ -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 *);