From: Michael Tremer Date: Fri, 28 Nov 2025 17:32:18 +0000 (+0000) Subject: sources: Fix indentation of CPP macros X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a744cf2ff1506eea89f7653b559ac696a76e93d7;p=collecty.git sources: Fix indentation of CPP macros Signed-off-by: Michael Tremer --- diff --git a/src/daemon/sources.c b/src/daemon/sources.c index c4d983b..3c5f2b8 100644 --- a/src/daemon/sources.c +++ b/src/daemon/sources.c @@ -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