mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 02:25:07 -05:00
sys: fix formatting in sys_linux.c
This commit is contained in:
@@ -82,13 +82,15 @@ static int tick_update_hz;
|
|||||||
/* ================================================== */
|
/* ================================================== */
|
||||||
|
|
||||||
inline static long
|
inline static long
|
||||||
our_round(double x) {
|
our_round(double x)
|
||||||
|
{
|
||||||
long y;
|
long y;
|
||||||
|
|
||||||
if (x > 0.0)
|
if (x > 0.0)
|
||||||
y = x + 0.5;
|
y = x + 0.5;
|
||||||
else
|
else
|
||||||
y = x - 0.5;
|
y = x - 0.5;
|
||||||
|
|
||||||
return y;
|
return y;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user