aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/odp_ring_ptr_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/linux-generic/include/odp_ring_ptr_internal.h')
-rw-r--r--platform/linux-generic/include/odp_ring_ptr_internal.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/platform/linux-generic/include/odp_ring_ptr_internal.h b/platform/linux-generic/include/odp_ring_ptr_internal.h
new file mode 100644
index 000000000..ee3c29ff0
--- /dev/null
+++ b/platform/linux-generic/include/odp_ring_ptr_internal.h
@@ -0,0 +1,23 @@
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2019 Nokia
+ */
+
+#ifndef ODP_RING_PTR_INTERNAL_H_
+#define ODP_RING_PTR_INTERNAL_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <odp_ring_common.h>
+
+#undef _ODP_RING_TYPE
+#define _ODP_RING_TYPE _ODP_RING_TYPE_PTR
+
+#include <odp_ring_internal.h>
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif