projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
autoupdate
[gnulib.git]
/
lib
/
xtime.h
diff --git
a/lib/xtime.h
b/lib/xtime.h
index
1be9ad7
..
9060956
100644
(file)
--- a/
lib/xtime.h
+++ b/
lib/xtime.h
@@
-1,6
+1,6
@@
/* xtime -- extended-resolution integer time stamps
/* xtime -- extended-resolution integer time stamps
- Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2005, 2006
, 2009, 2010
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
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
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. */
}
/* Return the number of nanoseconds in T, which must be nonnegative. */