aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-dpdk/include/odp/api/plat/time_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/linux-dpdk/include/odp/api/plat/time_types.h')
-rw-r--r--platform/linux-dpdk/include/odp/api/plat/time_types.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/platform/linux-dpdk/include/odp/api/plat/time_types.h b/platform/linux-dpdk/include/odp/api/plat/time_types.h
index f4c18ff80..6f6e44a4a 100644
--- a/platform/linux-dpdk/include/odp/api/plat/time_types.h
+++ b/platform/linux-dpdk/include/odp/api/plat/time_types.h
@@ -21,16 +21,16 @@ extern "C" {
* @internal Time structure used to isolate linux-generic implementation from
* the linux timespec structure, which is dependent on POSIX extension level.
*/
- typedef union {
- struct {
- uint64_t ticks; /**< @internal ticks */
- uint64_t pad;
- };
- struct {
- int64_t tv_sec; /**< @internal Seconds */
- int64_t tv_nsec; /**< @internal Nanoseconds */
- };
- } odp_time_t;
+typedef union {
+ struct {
+ uint64_t ticks; /**< @internal ticks */
+ uint64_t pad;
+ };
+ struct {
+ int64_t tv_sec; /**< @internal Seconds */
+ int64_t tv_nsec; /**< @internal Nanoseconds */
+ };
+} odp_time_t;
#define ODP_TIME_NULL ((odp_time_t){ {0} })