diff options
author | Petri Savolainen <petri.savolainen@nokia.com> | 2021-10-21 17:39:57 +0300 |
---|---|---|
committer | Petri Savolainen <petri.savolainen@nokia.com> | 2021-12-09 10:26:00 +0200 |
commit | a993eda8bb3c87bc8abbe96416e1e26b2fa3dc16 (patch) | |
tree | 19e561561faa10cca58ac770a64ab514497c8c91 /include/odp/api/abi-default/timer.h | |
parent | c68d49fd07911184f7ae8dbab8310c6868eff485 (diff) |
api: timer: split timer types into separate file
Split timer API header files into timer.h and timer_types.h
files.
Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'include/odp/api/abi-default/timer.h')
-rw-r--r-- | include/odp/api/abi-default/timer.h | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/include/odp/api/abi-default/timer.h b/include/odp/api/abi-default/timer.h deleted file mode 100644 index 566d199e0..000000000 --- a/include/odp/api/abi-default/timer.h +++ /dev/null @@ -1,55 +0,0 @@ -/* Copyright (c) 2013-2018, Linaro Limited - * All rights reserved. - * - * SPDX-License-Identifier: BSD-3-Clause - */ - -/** - * @file - * - * ODP timer service - */ - -#ifndef ODP_ABI_TIMER_H_ -#define ODP_ABI_TIMER_H_ - -#ifdef __cplusplus -extern "C" { -#endif - -/** @internal Dummy type for strong typing */ -typedef struct { char dummy; /**< @internal Dummy */ } _odp_abi_timer_t; - -/** @internal Dummy type for strong typing */ -typedef struct { char dummy; /**< @internal Dummy */ } _odp_abi_timeout_t; - -/** @internal Dummy type for strong typing */ -typedef struct { char dummy; /**< @internal Dummy */ } _odp_abi_timer_pool_t; - -/** @addtogroup odp_timer - * @{ - **/ - -typedef _odp_abi_timer_pool_t *odp_timer_pool_t; - -#define ODP_TIMER_POOL_INVALID ((odp_timer_pool_t)0) - -#define ODP_TIMER_POOL_NAME_LEN 32 - -typedef _odp_abi_timer_t *odp_timer_t; - -#define ODP_TIMER_INVALID ((odp_timer_t)0) - -typedef _odp_abi_timeout_t *odp_timeout_t; - -#define ODP_TIMEOUT_INVALID ((odp_timeout_t)0) - -/** - * @} - */ - -#ifdef __cplusplus -} -#endif - -#endif |