aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/odp_forward_typedefs_internal.h
blob: f8832f777bdf213cfe12a1b7061dbb48efe139c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* Copyright (c) 2015, Linaro Limited
 * All rights reserved.
 *
 * SPDX-License-Identifier:     BSD-3-Clause
 */

/**
 * @file
 *
 * ODP forward typedefs - implementation internal
 *
 * This needs to be a separate file because it is needed by both
 * odp_queue_internal.h and odp_buffer_internal.h and clang prohibits forward
 * "redefining" typedefs. Note that this file can be extended with additional
 * forward typedefs as needed.
 */

#ifndef ODP_FORWARD_TYPEDEFS_INTERNAL_H_
#define ODP_FORWARD_TYPEDEFS_INTERNAL_H_

#ifdef __cplusplus
extern "C" {
#endif

typedef struct odp_buffer_hdr_t odp_buffer_hdr_t;
typedef union queue_entry_u queue_entry_t;

#ifdef __cplusplus
}
#endif

#endif