aboutsummaryrefslogtreecommitdiff
path: root/include/odp/api/packet.h
diff options
context:
space:
mode:
authorPetri Savolainen <petri.savolainen@nokia.com>2022-03-17 17:20:03 +0200
committerPetri Savolainen <petri.savolainen@nokia.com>2022-03-18 15:26:38 +0200
commit4eee6de8422a9ac05e86d94a6923f434aac15b5b (patch)
tree7b86b1fed2a378767f8974db2d553d8730a4ec19 /include/odp/api/packet.h
parent585e1c9489a53d15dfde449b5f030f5df8b1afff (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/packet.h')
-rw-r--r--include/odp/api/packet.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/odp/api/packet.h b/include/odp/api/packet.h
index eb75d18fa..1f04c026d 100644
--- a/include/odp/api/packet.h
+++ b/include/odp/api/packet.h
@@ -1,4 +1,5 @@
/* Copyright (c) 2013-2018, Linaro Limited
+ * Copyright (c) 2022, Nokia
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
@@ -17,12 +18,7 @@
extern "C" {
#endif
-#include <odp/api/std_types.h>
-#include <odp/api/abi/event.h>
-#include <odp/api/abi/packet_io_types.h>
-#include <odp/api/abi/packet_types.h>
#include <odp/api/abi/packet.h>
-#include <odp/api/abi/buffer.h>
#include <odp/api/spec/packet.h>