aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/odp_traffic_mngr_internal.h
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2022-02-07 09:10:24 +0200
committerPetri Savolainen <petri.savolainen@nokia.com>2022-02-08 10:47:50 +0200
commit8380ba0e4cf65b011135f567ff01fc57c368f3ba (patch)
treeeefc922c69f65989035d941820eb4e9ffc46adb3 /platform/linux-generic/include/odp_traffic_mngr_internal.h
parentc972e1723a9a394dd59a43e496e3ec5a06a8ed14 (diff)
linux-gen: remove odp_api.h includes from implementation
Don't include odp_api.h header inside the implementation files as it unnecessarily includes all API headers. The remaining includes have been cleaned up and grouped. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'platform/linux-generic/include/odp_traffic_mngr_internal.h')
-rw-r--r--platform/linux-generic/include/odp_traffic_mngr_internal.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/platform/linux-generic/include/odp_traffic_mngr_internal.h b/platform/linux-generic/include/odp_traffic_mngr_internal.h
index 2b5e47637..28744d8b1 100644
--- a/platform/linux-generic/include/odp_traffic_mngr_internal.h
+++ b/platform/linux-generic/include/odp_traffic_mngr_internal.h
@@ -19,9 +19,10 @@
extern "C" {
#endif
-#include <pthread.h>
-#include <odp/api/traffic_mngr.h>
+#include <odp/api/barrier.h>
#include <odp/api/packet_io.h>
+#include <odp/api/traffic_mngr.h>
+
#include <odp_name_table_internal.h>
#include <odp_timer_wheel_internal.h>
#include <odp_pkt_queue_internal.h>
@@ -31,6 +32,8 @@ extern "C" {
#include <odp_queue_if.h>
#include <odp_packet_internal.h>
+#include <pthread.h>
+
typedef struct stat file_stat_t;
#define INPUT_WORK_RING_SIZE (16 * 1024)