From c95adc518d2cfa35b26e0afd75fae07607fbb438 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 11 Feb 2012 20:27:19 +0100 Subject: [PATCH] Redefined timestamp_t and removed ucw_time_t timestamp_t is no longer tied to the wall clock time (so it can be read from CLOCK_MONOTONIC or any other clock) ucw_time_t was an obsolete hack --- ucw/config.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ucw/config.h b/ucw/config.h index 127c8ac9..88168d1a 100644 --- a/ucw/config.h +++ b/ucw/config.h @@ -37,8 +37,7 @@ typedef uint64_t u64; /** Exactly 64 bits, unsigned **/ typedef int64_t s64; /** Exactly 64 bits, signed **/ typedef unsigned int uns; /** A better pronounceable alias for `unsigned int` **/ -typedef u32 ucw_time_t; /** Seconds since UNIX epoch **/ -typedef s64 timestamp_t; /** Milliseconds since UNIX epoch **/ +typedef s64 timestamp_t; /** Milliseconds since an unknown epoch **/ #ifdef CONFIG_UCW_LARGE_FILES typedef s64 ucw_off_t; /** File position (either 32- or 64-bit, depending on `CONFIG_UCW_LARGE_FILES`). **/ -- 2.39.2