X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fhealth%2Fhealth_stall.c;fp=tests%2Fregression%2Ftools%2Fhealth%2Fhealth_stall.c;h=c88e5742a30b08ec6cac328e0ff5de742986a9c1;hp=d01ad4cb9210c2b854af4165b5c96fdec0e37c98;hb=28f23191dcbf047429d51950a337a57d7a3f866a;hpb=f250b40e2179eccdb83766bf4abef5a35036c47b diff --git a/tests/regression/tools/health/health_stall.c b/tests/regression/tools/health/health_stall.c index d01ad4cb9..c88e5742a 100644 --- a/tests/regression/tools/health/health_stall.c +++ b/tests/regression/tools/health/health_stall.c @@ -7,9 +7,10 @@ */ #include + +#include #include #include -#include #include #include @@ -19,8 +20,7 @@ * Check if the specified environment variable is set. * Return 1 if set, otherwise 0. */ -static -int check_env_var(const char *env) +static int check_env_var(const char *env) { if (env) { char *env_val = getenv(env); @@ -32,8 +32,7 @@ int check_env_var(const char *env) return 0; } -static -void do_stall(void) +static void do_stall(void) { unsigned int sleep_time = STALL_TIME;