From f3c28d5ab2b246b3d79012f320059513a2643633 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Wed, 21 Aug 2013 19:51:38 -0300 Subject: [PATCH] shared: Add constants for time conversions --- src/lib/shared/util.h | 3 +++ src/plugins/asf/asf.c | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/shared/util.h b/src/lib/shared/util.h index fe55f06..762a458 100644 --- a/src/lib/shared/util.h +++ b/src/lib/shared/util.h @@ -27,6 +27,9 @@ #include #include +#define NSEC100_PER_SEC 10000000ULL +#define MSEC_PER_SEC 1000ULL + #define get_unaligned(ptr) \ ({ \ struct __attribute__((packed)) { \ diff --git a/src/plugins/asf/asf.c b/src/plugins/asf/asf.c index dea1dc4..b0140cf 100644 --- a/src/plugins/asf/asf.c +++ b/src/plugins/asf/asf.c @@ -41,9 +41,6 @@ #include #include -#define NSEC100_PER_SEC 10000000ULL -#define MSEC_PER_SEC 1000ULL - enum AttributeTypes { ATTR_TYPE_UNICODE = 0, ATTR_TYPE_BYTES, -- 2.7.4