From 926ae841a831d4b51426e2393398a92769bcba07 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 7 Sep 2023 14:21:24 +0200 Subject: [PATCH] Fix broken include due to auto-formatting Signed-off-by: Steffen Vogel --- include/villas/config_helper.hpp | 8 ++++---- include/villas/node/memory.hpp | 10 +++++----- include/villas/nodes/infiniband.hpp | 1 + include/villas/nodes/websocket.hpp | 1 + include/villas/signal_data.hpp | 2 ++ lib/nodes/websocket.cpp | 2 -- src/villas-graph.cpp | 3 ++- 7 files changed, 15 insertions(+), 12 deletions(-) diff --git a/include/villas/config_helper.hpp b/include/villas/config_helper.hpp index 1fa578891..c55bc5b03 100644 --- a/include/villas/config_helper.hpp +++ b/include/villas/config_helper.hpp @@ -7,15 +7,15 @@ #pragma once -#ifdef WITH_CONFIG -#include -#endif - #include #include #include +#ifdef WITH_CONFIG +#include +#endif + namespace villas { namespace node { diff --git a/include/villas/node/memory.hpp b/include/villas/node/memory.hpp index 1fcdc8c54..4e750194b 100644 --- a/include/villas/node/memory.hpp +++ b/include/villas/node/memory.hpp @@ -7,16 +7,16 @@ #pragma once -#ifdef IBVERBS_FOUND -#include -#endif // IBVERBS_FOUND - #include #include #include #include +#ifdef IBVERBS_FOUND +#include +#endif // IBVERBS_FOUND + namespace villas { namespace node { namespace memory { @@ -52,7 +52,7 @@ struct Allocation { }; }; -// Initilialize memory subsystem +// Initialize memory subsystem int init(int hugepages) __attribute__((warn_unused_result)); int lock(size_t lock); diff --git a/include/villas/nodes/infiniband.hpp b/include/villas/nodes/infiniband.hpp index 8cd1e25f9..b43bab236 100644 --- a/include/villas/nodes/infiniband.hpp +++ b/include/villas/nodes/infiniband.hpp @@ -8,6 +8,7 @@ #pragma once #include + #include #include #include diff --git a/include/villas/nodes/websocket.hpp b/include/villas/nodes/websocket.hpp index 071fe1af0..d7f91471e 100644 --- a/include/villas/nodes/websocket.hpp +++ b/include/villas/nodes/websocket.hpp @@ -7,6 +7,7 @@ #pragma once +#include #include #include diff --git a/include/villas/signal_data.hpp b/include/villas/signal_data.hpp index e4351e84e..3ecfe0284 100644 --- a/include/villas/signal_data.hpp +++ b/include/villas/signal_data.hpp @@ -15,6 +15,8 @@ #include +#include + namespace villas { namespace node { diff --git a/lib/nodes/websocket.cpp b/lib/nodes/websocket.cpp index 2e34ebf6a..3520cd8e9 100644 --- a/lib/nodes/websocket.cpp +++ b/lib/nodes/websocket.cpp @@ -11,8 +11,6 @@ #include #include -#include - #include #include #include diff --git a/src/villas-graph.cpp b/src/villas-graph.cpp index 77116880b..6306550de 100644 --- a/src/villas-graph.cpp +++ b/src/villas-graph.cpp @@ -7,9 +7,10 @@ #include -#include #include +#include + #include #include #include