unistr/u8-chr, unistr/u8-strchr: use Boyer-Moore like algorithm.
[gnulib.git] / lib / xtime.h
index 1be9ad7..9060956 100644 (file)
@@ -1,6 +1,6 @@
 /* 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
@@ -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.  */