aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/odp_std_api.c
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2021-07-06 17:07:05 +0300
committerMatias Elo <matias.elo@nokia.com>2021-07-12 16:42:31 +0300
commit9796d17e0a7b8ba8cde4c1b8c95f16b7c3c63404 (patch)
treea66b1b65494d9072d300b49e009b8f8f3fbdd707 /platform/linux-generic/odp_std_api.c
parent61c89358cd6519a98f73c6ab20d767d9dd47cce7 (diff)
api: std: rename std_clib module to std
Move all generic ODP functions and data types to a common std module. Type definitions have been moved inside std_types.h header to enable easier function inlining. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com> Tested-by: Shijith Thotton <sthotton@marvell.com>
Diffstat (limited to 'platform/linux-generic/odp_std_api.c')
-rw-r--r--platform/linux-generic/odp_std_api.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/platform/linux-generic/odp_std_api.c b/platform/linux-generic/odp_std_api.c
new file mode 100644
index 000000000..0bcd68de2
--- /dev/null
+++ b/platform/linux-generic/odp_std_api.c
@@ -0,0 +1,11 @@
+/* Copyright (c) 2016-2018, Linaro Limited
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#include <odp/api/std.h>
+
+/* Include non-inlined versions of API functions */
+#define _ODP_NO_INLINE
+#include <odp/api/plat/std_inlines.h>