diff mbox

[PATCHv2,5/5] linux-generic: move imp API number def to header file

Message ID 1424096886-2645-6-git-send-email-maxim.uvarov@linaro.org
State New
Headers show

Commit Message

Maxim Uvarov Feb. 16, 2015, 2:28 p.m. UTC
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
---
 platform/linux-generic/include/odp/version.h | 3 +++
 platform/linux-generic/odp_version.c         | 3 ---
 2 files changed, 3 insertions(+), 3 deletions(-)
diff mbox

Patch

diff --git a/platform/linux-generic/include/odp/version.h b/platform/linux-generic/include/odp/version.h
index b5071e5..8a95221 100644
--- a/platform/linux-generic/include/odp/version.h
+++ b/platform/linux-generic/include/odp/version.h
@@ -31,6 +31,9 @@  ODP_VERSION_TO_STR(ODP_VERSION_API_MINOR)
 
 #include <odp/api/version.h>
 
+#define  ODP_VERSION_IMPL 0
+#define  ODP_VERSION_IMPL_STR ODP_VERSION_TO_STR(ODP_VERSION_IMPL)
+
 #ifdef __cplusplus
 }
 #endif
diff --git a/platform/linux-generic/odp_version.c b/platform/linux-generic/odp_version.c
index d54580c..776f4da 100644
--- a/platform/linux-generic/odp_version.c
+++ b/platform/linux-generic/odp_version.c
@@ -16,9 +16,6 @@  const char *odp_version_api_str(void)
 	return ODP_VERSION_API_STR;
 }
 
-#define  ODP_VERSION_IMPL 0
-#define  ODP_VERSION_IMPL_STR ODP_VERSION_TO_STR(ODP_VERSION_IMPL)
-
 const char *odp_version_impl_str(void)
 {
 	return ODP_VERSION_IMPL_STR;