From: Arran Cudbard-Bell Date: Wed, 21 Apr 2021 16:37:02 +0000 (-0500) Subject: cpp indentation X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5a5b57d5d03cfba5da78da8396c5ffaff03acef5;p=thirdparty%2Ffreeradius-server.git cpp indentation --- diff --git a/src/lib/server/exec.c b/src/lib/server/exec.c index 3a4e27ae9f8..0ad10b7965d 100644 --- a/src/lib/server/exec.c +++ b/src/lib/server/exec.c @@ -44,13 +44,13 @@ RCSID("$Id$") #include #ifdef HAVE_SYS_WAIT_H -# include +# include #endif #ifndef WEXITSTATUS -# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) +# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) #endif #ifndef WIFEXITED -# define WIFEXITED(stat_val) (((stat_val) & 255) == 0) +# define WIFEXITED(stat_val) (((stat_val) & 255) == 0) #endif #define MAX_ARGV (256) diff --git a/src/lib/util/pair_legacy_tests.c b/src/lib/util/pair_legacy_tests.c index c2928afc437..4d5dea44e70 100644 --- a/src/lib/util/pair_legacy_tests.c +++ b/src/lib/util/pair_legacy_tests.c @@ -36,7 +36,7 @@ static void test_init(void) __attribute__((constructor)); #else static void test_init(void); -# define TEST_INIT test_init() +# define TEST_INIT test_init() #endif #include @@ -50,7 +50,7 @@ static void test_init(void); #include #ifdef HAVE_GPERFTOOLS_PROFILER_H -# include +# include #endif static TALLOC_CTX *autofree; diff --git a/src/lib/util/pair_tests.c b/src/lib/util/pair_tests.c index e38ca64baa9..039e93d325a 100644 --- a/src/lib/util/pair_tests.c +++ b/src/lib/util/pair_tests.c @@ -50,7 +50,7 @@ static void test_init(void); #include #ifdef HAVE_GPERFTOOLS_PROFILER_H -# include +# include #endif static TALLOC_CTX *autofree; diff --git a/src/tests/util/atomic_queue_test.c b/src/tests/util/atomic_queue_test.c index d390dca3f3d..3884f1b2cdc 100644 --- a/src/tests/util/atomic_queue_test.c +++ b/src/tests/util/atomic_queue_test.c @@ -30,7 +30,7 @@ RCSID("$Id$") #include #ifdef HAVE_GETOPT_H -# include +# include #endif #define OFFSET (1024) diff --git a/src/tests/util/radius_schedule_test.c b/src/tests/util/radius_schedule_test.c index ae601aa8be3..9d2a2f16eb6 100644 --- a/src/tests/util/radius_schedule_test.c +++ b/src/tests/util/radius_schedule_test.c @@ -37,7 +37,7 @@ RCSID("$Id$") #include #ifdef HAVE_GETOPT_H -# include +# include #endif #define MPRINT1 if (debug_lvl) printf