]> git.ipfire.org Git - people/ms/telemetry.git/commitdiff
sources: Fix indentation of CPP macros
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 28 Nov 2025 17:32:18 +0000 (17:32 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 28 Nov 2025 17:32:18 +0000 (17:32 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/daemon/sources.c

index c4d983b473e5d056d8f2b4549a426dba3780cebe..3c5f2b871ccaaa94bc960cf5681c271cb572dbdd 100644 (file)
@@ -61,9 +61,9 @@
 
 // legacy gateway latency4
 #ifdef HAVE_LIBNL3
-#ifdef HAVE_LIBNL3_ROUTE
-# include "sources/legacy-gateway-latency4.h"
-#endif /* HAVE_LIBNL3_ROUTE */
+# ifdef HAVE_LIBNL3_ROUTE
+#  include "sources/legacy-gateway-latency4.h"
+# endif /* HAVE_LIBNL3_ROUTE */
 #endif /* HAVE_LIBNL3 */
 
 // nftables
@@ -80,9 +80,9 @@
 
 // Load test sources
 #if ENABLE_TESTS
-#include "sources/test-error.h"
-#include "sources/test-flapping.h"
-#include "sources/test-stall.h"
+# include "sources/test-error.h"
+# include "sources/test-flapping.h"
+# include "sources/test-stall.h"
 #endif /* ENABLE_TESTS */
 
 // Register all sources
@@ -119,9 +119,9 @@ static const td_source_impl* source_impls[] = {
 
        // legacy gateway latency4
 #ifdef HAVE_LIBNL3
-#ifdef HAVE_LIBNL3_ROUTE
+# ifdef HAVE_LIBNL3_ROUTE
        &legacy_gateway_latency4_source,
-#endif /* HAVE_LIBNL3_ROUTE */
+# endif /* HAVE_LIBNL3_ROUTE */
 #endif /* HAVE_LIBNL3 */
 
        // nftables