Skip to content

Commit

Permalink
Fix linting.
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Lalancette <[email protected]>
  • Loading branch information
clalancette committed Aug 2, 2024
1 parent 7952cbc commit c5e880c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test_tracetools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion tracetools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down
6 changes: 3 additions & 3 deletions tracetools/include/tracetools/visibility_control.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -53,4 +53,4 @@
#define TRACETOOLS_PUBLIC_TYPE
#endif

#endif // TRACETOOLS__VISIBILITY_CONTROL_HPP_
#endif // TRACETOOLS__VISIBILITY_CONTROL_H_

0 comments on commit c5e880c

Please sign in to comment.