Define TRACEPOINT to suppress warnings from strict(er) linters
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
This commit is contained in:
parent
a6432f958f
commit
51f76123d1
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@
|
||||||
# define DECLARE_TRACEPOINT(event_name, ...) \
|
# define DECLARE_TRACEPOINT(event_name, ...) \
|
||||||
TRACETOOLS_PUBLIC void(ros_trace_ ## event_name)(__VA_ARGS__);
|
TRACETOOLS_PUBLIC void(ros_trace_ ## event_name)(__VA_ARGS__);
|
||||||
#else
|
#else
|
||||||
# define TRACEPOINT(event_name, ...)
|
# define TRACEPOINT(event_name, ...) ((void) (0))
|
||||||
# define DECLARE_TRACEPOINT(event_name, ...)
|
# define DECLARE_TRACEPOINT(event_name, ...)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue