From: Lucas De Marchi Date: Wed, 21 Aug 2013 22:51:38 +0000 (-0300) Subject: shared: Add constants for time conversions X-Git-Tag: accepted/tizen/generic/20140106.140339~61 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f3c28d5ab2b246b3d79012f320059513a2643633;p=platform%2Fupstream%2Flightmediascanner.git shared: Add constants for time conversions --- 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,