From d0e4897dd143610777f472514ae635a23c27ea64 Mon Sep 17 00:00:00 2001 From: Gitea Date: Tue, 8 Dec 2020 18:10:56 -0600 Subject: [PATCH] Renamed tm struct --- include/time.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 *);