Skip to content
Merged
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: 3 additions & 1 deletion rcl/include/rcl/macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
#ifndef RCL__MACROS_H_
#define RCL__MACROS_H_

#include "rcutils/macros.h"

#ifdef __cplusplus
extern "C"
{
Expand All @@ -23,7 +25,7 @@ extern "C"
/// Ignored return values of functions with this macro will emit a warning.
#define RCL_WARN_UNUSED RCUTILS_WARN_UNUSED

#define RCL_UNUSED(x) (void)(x)
#define RCL_UNUSED(x) RCUTILS_UNUSED(x)

#ifdef __cplusplus
}
Expand Down