We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40f5a99 commit 22b2687Copy full SHA for 22b2687
cores/esp8266/sntp-lwip2.cpp
@@ -38,6 +38,7 @@
38
*/
39
40
#include <lwip/init.h>
41
+#include <time.h>
42
#include <sys/time.h>
43
#include <osapi.h>
44
#include <os_type.h>
@@ -133,30 +134,8 @@ static const int year_lengths[2] = {
133
134
365,
135
366
136
} ;
-struct tm
137
-{
138
- int tm_sec;
139
- int tm_min;
140
- int tm_hour;
141
- int tm_mday;
142
- int tm_mon;
143
- int tm_year;
144
- int tm_wday;
145
- int tm_yday;
146
- int tm_isdst;
147
-};
148
149
struct tm res_buf;
150
-typedef struct __tzrule_struct
151
152
- char ch;
153
- int m;
154
- int n;
155
- int d;
156
- int s;
157
- time_t change;
158
- int offset;
159
-} __tzrule_type;
160
161
__tzrule_type sntp__tzrule[2];
162
struct tm *
0 commit comments