aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/odp/api/plat/buffer_inlines.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/linux-generic/include/odp/api/plat/buffer_inlines.h')
-rw-r--r--platform/linux-generic/include/odp/api/plat/buffer_inlines.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/linux-generic/include/odp/api/plat/buffer_inlines.h b/platform/linux-generic/include/odp/api/plat/buffer_inlines.h
index 9e0ae3f50..3da402a83 100644
--- a/platform/linux-generic/include/odp/api/plat/buffer_inlines.h
+++ b/platform/linux-generic/include/odp/api/plat/buffer_inlines.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2019, Nokia
+/* Copyright (c) 2019-2022, Nokia
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
@@ -10,11 +10,11 @@
#include <odp/api/abi/buffer.h>
#include <odp/api/abi/event_types.h>
-#include <odp/api/plat/buffer_inline_types.h>
+#include <odp/api/plat/event_inline_types.h>
/** @cond _ODP_HIDE_FROM_DOXYGEN_ */
-extern const _odp_buffer_inline_offset_t _odp_buffer_inline_offset;
+extern const _odp_event_inline_offset_t _odp_event_inline_offset;
#ifndef _ODP_NO_INLINE
/* Inline functions by default */
@@ -38,7 +38,7 @@ _ODP_INLINE odp_event_t odp_buffer_to_event(odp_buffer_t buf)
_ODP_INLINE void *odp_buffer_addr(odp_buffer_t buf)
{
- return _odp_buf_hdr_field(buf, void *, base_data);
+ return _odp_event_hdr_field((odp_event_t)buf, void *, base_data);
}
/** @endcond */