mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2025-12-19 16:50:12 +01:00
Remove not required register keyword
This commit is contained in:
@@ -170,8 +170,8 @@ uint8_t DevInfoParser::getDevIdx()
|
||||
/* struct tm to seconds since Unix epoch */
|
||||
time_t DevInfoParser::timegm(struct tm* t)
|
||||
{
|
||||
register uint32_t year;
|
||||
register time_t result;
|
||||
uint32_t year;
|
||||
time_t result;
|
||||
#define MONTHSPERYEAR 12 /* months per calendar year */
|
||||
static const int cumdays[MONTHSPERYEAR] = { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334 };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user