sys: fix formatting in sys_linux.c
This commit is contained in:
parent
e14a03a172
commit
2645e632a8
1 changed files with 5 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue