From c5e880c73bc492600d17720fb3c34d0f390dc55b Mon Sep 17 00:00:00 2001 From: Chris Lalancette Date: Fri, 2 Aug 2024 17:29:43 +0000 Subject: [PATCH] Fix linting. Signed-off-by: Chris Lalancette --- test_tracetools/CMakeLists.txt | 2 +- tracetools/CMakeLists.txt | 2 +- tracetools/include/tracetools/visibility_control.h | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test_tracetools/CMakeLists.txt b/test_tracetools/CMakeLists.txt index 200bf871..acb51ae6 100644 --- a/test_tracetools/CMakeLists.txt +++ b/test_tracetools/CMakeLists.txt @@ -16,7 +16,7 @@ find_package(ament_cmake REQUIRED) if(WIN32 OR APPLE OR ANDROID) set(DISABLED_DEFAULT ON) else() - set(DISABLED_DEFAULT OFF) + set(DISABLED_DEFAULT ON) endif() option(TRACETOOLS_DISABLED "Explicitly disable support for tracing" ${DISABLED_DEFAULT}) option(TRACETOOLS_TRACEPOINTS_EXCLUDED "Do not include tracepoints" OFF) diff --git a/tracetools/CMakeLists.txt b/tracetools/CMakeLists.txt index 4460a2d3..94ea9451 100644 --- a/tracetools/CMakeLists.txt +++ b/tracetools/CMakeLists.txt @@ -20,7 +20,7 @@ if(WIN32 OR APPLE OR ANDROID) set(DISABLED_DEFAULT ON) set(STATUS_CHECKING_TOOL_DEFAULT OFF) else() - set(DISABLED_DEFAULT OFF) + set(DISABLED_DEFAULT ON) set(STATUS_CHECKING_TOOL_DEFAULT ON) endif() option(TRACETOOLS_DISABLED "Explicitly disable support for tracing" ${DISABLED_DEFAULT}) diff --git a/tracetools/include/tracetools/visibility_control.h b/tracetools/include/tracetools/visibility_control.h index 63a5a588..4a93d998 100644 --- a/tracetools/include/tracetools/visibility_control.h +++ b/tracetools/include/tracetools/visibility_control.h @@ -19,8 +19,8 @@ * library cannot have, but the consuming code must have inorder to link. */ -#ifndef TRACETOOLS__VISIBILITY_CONTROL_HPP_ -#define TRACETOOLS__VISIBILITY_CONTROL_HPP_ +#ifndef TRACETOOLS__VISIBILITY_CONTROL_H_ +#define TRACETOOLS__VISIBILITY_CONTROL_H_ // This logic was borrowed (then namespaced) from the examples on the gcc wiki: // https://gcc.gnu.org/wiki/Visibility @@ -53,4 +53,4 @@ #define TRACETOOLS_PUBLIC_TYPE #endif -#endif // TRACETOOLS__VISIBILITY_CONTROL_HPP_ +#endif // TRACETOOLS__VISIBILITY_CONTROL_H_