diff --git a/include/time.h b/include/time.h index 1cc00f8..f7daf4d 100644 --- a/include/time.h +++ b/include/time.h @@ -13,7 +13,7 @@ #include #include -typedef struct _time { +struct tm{ unsigned int tm_sec : 6; unsigned int tm_min : 6; unsigned int tm_hour : 5; @@ -23,7 +23,7 @@ typedef struct _time { unsigned int tm_wday : 3; unsigned int tm_yday : 9; int tm_isdst : 2; -} tm; +}; time_t time(time_t *);