diff options
author | Petri Savolainen <petri.savolainen@nokia.com> | 2022-03-17 17:20:03 +0200 |
---|---|---|
committer | Petri Savolainen <petri.savolainen@nokia.com> | 2022-03-18 15:26:38 +0200 |
commit | 4eee6de8422a9ac05e86d94a6923f434aac15b5b (patch) | |
tree | 7b86b1fed2a378767f8974db2d553d8730a4ec19 /include/odp/api/spec/comp.h | |
parent | 585e1c9489a53d15dfde449b5f030f5df8b1afff (diff) |
api: event: split header file
Split event.h API file into separate files for types and
functions. This avoids circular dependency between event
and packet headers.
While updating dependencies from event.h to event_types.h,
simplify API header file dependencies:
- API files depend mostly on type headers of other APIs
- move header includes from include/odp/api header files
to spec files
Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'include/odp/api/spec/comp.h')
-rw-r--r-- | include/odp/api/spec/comp.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/odp/api/spec/comp.h b/include/odp/api/spec/comp.h index 7f64cca5d..39ecbfde4 100644 --- a/include/odp/api/spec/comp.h +++ b/include/odp/api/spec/comp.h @@ -14,8 +14,11 @@ #define ODP_API_SPEC_COMP_H_ #include <odp/visibility_begin.h> + +#include <odp/api/event_types.h> +#include <odp/api/packet_types.h> +#include <odp/api/queue_types.h> #include <odp/api/std_types.h> -#include <odp/api/packet.h> #ifdef __cplusplus extern "C" { |