From: Jérémie Galarneau Date: Tue, 18 Apr 2023 15:44:42 +0000 (-0400) Subject: Clean-up: error.hpp/error.cpp coding style fix X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=16ff37cb24f54719f0111bf9a8dbf577087a158a;p=lttng-tools.git Clean-up: error.hpp/error.cpp coding style fix Signed-off-by: Jérémie Galarneau Change-Id: I570dabdc2ea83bf9aded48e64fc9e1f83a061044 --- diff --git a/src/common/error.cpp b/src/common/error.cpp index 6bf1e30f0..26d69f48b 100644 --- a/src/common/error.cpp +++ b/src/common/error.cpp @@ -32,7 +32,7 @@ int lttng_opt_abort_on_error = -1; thread_local struct log_time error_log_time; } /* namespace */ -thread_local const char * logger_thread_name; +thread_local const char *logger_thread_name; const char *log_add_time() { diff --git a/src/common/error.hpp b/src/common/error.hpp index d00f41309..5935cf151 100644 --- a/src/common/error.hpp +++ b/src/common/error.hpp @@ -47,7 +47,7 @@ struct log_time { char str[19]; }; -extern thread_local const char * logger_thread_name; +extern thread_local const char *logger_thread_name; extern int lttng_opt_quiet; extern int lttng_opt_verbose;