X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fxtime.h;h=5ca0156daf2e4fca410290949dab4a0ce94770ea;hb=21c3d05ca705daa62ec4c7444e67af48ba757c18;hp=1be9ad7681828477d8545da09e665baa1426fb6a;hpb=57fdfd3f8ec62b105c53bcdf6f127c35c7fe7391;p=gnulib.git diff --git a/lib/xtime.h b/lib/xtime.h index 1be9ad768..5ca0156da 100644 --- a/lib/xtime.h +++ b/lib/xtime.h @@ -1,6 +1,6 @@ /* xtime -- extended-resolution integer time stamps - Copyright (C) 2005, 2006 Free Software Foundation, Inc. + Copyright (C) 2005-2006, 2009-2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -60,10 +60,10 @@ static inline xtime_t xtime_sec (xtime_t t) { return (XTIME_PRECISION == 1 - ? t - : t < 0 - ? (t + XTIME_PRECISION - 1) / XTIME_PRECISION - 1 - : xtime_nonnegative_sec (t)); + ? t + : t < 0 + ? (t + XTIME_PRECISION - 1) / XTIME_PRECISION - 1 + : xtime_nonnegative_sec (t)); } /* Return the number of nanoseconds in T, which must be nonnegative. */