Searched refs:tm_local (Results 1 – 1 of 1) sorted by relevance
196 struct tm tm_local; in nmea_reader_update_utc_diff() local201 localtime_r( &now, &tm_local ); in nmea_reader_update_utc_diff()203 time_local = tm_local.tm_sec + in nmea_reader_update_utc_diff()204 60*(tm_local.tm_min + in nmea_reader_update_utc_diff()205 60*(tm_local.tm_hour + in nmea_reader_update_utc_diff()206 24*(tm_local.tm_yday + in nmea_reader_update_utc_diff()207 365*tm_local.tm_year))); in nmea_reader_update_utc_diff()