From: Miroslav Lichvar Date: Tue, 9 Dec 2014 16:26:30 +0000 (+0100) Subject: sys: fix formatting in sys_linux.c X-Git-Tag: 2.0-pre1~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2645e632a8d14e6bd1bfec990943b69bac27d0c1;p=thirdparty%2Fchrony.git sys: fix formatting in sys_linux.c --- diff --git a/sys_linux.c b/sys_linux.c index d2091b99..4e25751f 100644 --- a/sys_linux.c +++ b/sys_linux.c @@ -82,13 +82,15 @@ static int tick_update_hz; /* ================================================== */ inline static long -our_round(double x) { +our_round(double x) +{ long y; if (x > 0.0) - y = x + 0.5; + y = x + 0.5; else - y = x - 0.5; + y = x - 0.5; + return y; }