Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions rcl_logging_noop/src/rcl_logging_noop/rcl_logging_noop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

#include <rcutils/allocator.h>

extern "C" {

typedef int rcl_logging_ret_t;
#define RCL_LOGGING_RET_OK (0)

Expand Down Expand Up @@ -46,5 +44,3 @@ rcl_logging_ret_t rcl_logging_external_set_logger_level(const char * name, int l
(void) level;
return RCL_LOGGING_RET_OK;
}

} /* extern "C" */
8 changes: 0 additions & 8 deletions rcl_logging_spdlog/src/rcl_logging_spdlog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@
#define RCL_LOGGING_RET_OK (0)
#define RCL_LOGGING_RET_ERROR (2)

#ifdef __cplusplus
extern "C" {
#endif

static std::mutex g_logger_mutex;
static std::unique_ptr<spdlog::logger> g_root_logger = nullptr;

Expand Down Expand Up @@ -174,7 +170,3 @@ rcl_logging_ret_t rcl_logging_external_set_logger_level(const char * name, int l

return RCL_LOGGING_RET_OK;
}

#ifdef __cplusplus
} /* extern "C" */
#endif