diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2015-01-05 23:03:18 +0100 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2015-01-29 20:42:36 +0300 |
commit | f72ab65c4cfa1cbd4f65007403242fcfbca4f2c3 (patch) | |
tree | 5417c315681050e6f6dc90fa3fcb733402e850e6 | |
parent | 822c4dadeb5f7b32654dfc60ed2569c5a0635172 (diff) |
api: std_types: move typedef
Align the style with the rest of the header files of linux-generic
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Reviewed-by: Balasubramanian Manoharan <bala.manoharan@linaro.org>
Reviewed-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
-rw-r--r-- | include/odp/api/std_types.h | 24 | ||||
-rw-r--r-- | platform/linux-generic/include/odp/std_types.h | 16 |
2 files changed, 29 insertions, 11 deletions
diff --git a/include/odp/api/std_types.h b/include/odp/api/std_types.h index 61255a6d1..00a3e483e 100644 --- a/include/odp/api/std_types.h +++ b/include/odp/api/std_types.h @@ -20,18 +20,20 @@ extern "C" { #endif +/** @addtogroup odp_system ODP SYSTEM + * @{ + */ + +/** + * @typedef odp_bool_t + * Use odp boolean type to have it well-defined and known size, + * regardless which compiler is used as this facilities interoperability + * between e.g. different compilers. + */ -#include <stddef.h> -#include <stdbool.h> -#include <stdint.h> -#include <inttypes.h> -#include <limits.h> - -/** Use odp boolean type to have it well-defined and known size, - * regardless which compiler is used as this facilities interoperability - * between e.g. different compilers. - */ -typedef int odp_bool_t; +/** + * @} + */ #ifdef __cplusplus } diff --git a/platform/linux-generic/include/odp/std_types.h b/platform/linux-generic/include/odp/std_types.h index c07d2aab4..1bd22ffeb 100644 --- a/platform/linux-generic/include/odp/std_types.h +++ b/platform/linux-generic/include/odp/std_types.h @@ -17,6 +17,22 @@ extern "C" { #endif +#include <stddef.h> +#include <stdbool.h> +#include <stdint.h> +#include <inttypes.h> +#include <limits.h> + +/** @addtogroup odp_system ODP SYSTEM + * @{ + */ + +typedef int odp_bool_t; + +/** + * @} + */ + #include <odp/api/std_types.h> #ifdef __cplusplus |