Remove not required register keyword
This commit is contained in:
parent
ac73747a29
commit
70130f47ae
@ -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 };
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user