@@ -61,8 +61,7 @@ odpplatinclude_HEADERS = \
$(top_srcdir)/platform/linux-generic/include/odp/plat/schedule_types.h \
$(top_srcdir)/platform/linux-generic/include/odp/plat/shared_memory_types.h \
$(top_srcdir)/platform/linux-generic/include/odp/plat/strong_types.h \
- $(top_srcdir)/platform/linux-generic/include/odp/plat/timer_types.h \
- $(top_srcdir)/platform/linux-generic/include/odp/plat/version_types.h
+ $(top_srcdir)/platform/linux-generic/include/odp/plat/timer_types.h
odpapiincludedir= $(includedir)/odp/api
odpapiinclude_HEADERS = \
deleted file mode 100644
@@ -1,30 +0,0 @@
-/* Copyright (c) 2015, Linaro Limited
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
- */
-
-#ifndef ODP_VERSION_TYPESH_
-#define ODP_VERSION_TYPESH_
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/** @internal Version string expand */
-#define ODP_VERSION_STR_EXPAND(x) #x
-
-/** @internal Version to string */
-#define ODP_VERSION_TO_STR(x) ODP_VERSION_STR_EXPAND(x)
-
-/** @internal API version string */
-#define ODP_VERSION_API_STR \
-ODP_VERSION_TO_STR(ODP_VERSION_API_GENERATION) "." \
-ODP_VERSION_TO_STR(ODP_VERSION_API_MAJOR) "." \
-ODP_VERSION_TO_STR(ODP_VERSION_API_MINOR)
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
@@ -17,7 +17,18 @@
extern "C" {
#endif
-#include <odp/plat/version_types.h>
+/** @internal Version string expand */
+#define ODP_VERSION_STR_EXPAND(x) #x
+
+/** @internal Version to string */
+#define ODP_VERSION_TO_STR(x) ODP_VERSION_STR_EXPAND(x)
+
+/** @internal API version string */
+#define ODP_VERSION_API_STR \
+ODP_VERSION_TO_STR(ODP_VERSION_API_GENERATION) "." \
+ODP_VERSION_TO_STR(ODP_VERSION_API_MAJOR) "." \
+ODP_VERSION_TO_STR(ODP_VERSION_API_MINOR)
+
#include <odp/api/version.h>
#ifdef __cplusplus
@@ -9,7 +9,7 @@
#endif
#include <odp/api/version.h>
-#include <odp/plat/version_types.h>
+#include <odp/version.h>
const char *odp_version_api_str(void)
{
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> --- platform/linux-generic/Makefile.am | 3 +-- .../linux-generic/include/odp/plat/version_types.h | 30 ---------------------- platform/linux-generic/include/odp/version.h | 13 +++++++++- platform/linux-generic/odp_version.c | 2 +- 4 files changed, 14 insertions(+), 34 deletions(-) delete mode 100644 platform/linux-generic/include/odp/plat/version_types.h