local: add support for setting TAI-UTC offset

This commit is contained in:
Miroslav Lichvar
2017-06-29 15:14:16 +02:00
parent 5d838729ef
commit a768578a26
5 changed files with 12 additions and 11 deletions

View File

@@ -700,10 +700,10 @@ LCL_CanSystemLeap(void)
/* ================================================== */
void
LCL_SetSystemLeap(int leap)
LCL_SetSystemLeap(int leap, int tai_offset)
{
if (drv_set_leap) {
(drv_set_leap)(leap);
(drv_set_leap)(leap, tai_offset);
}
}