From 5fecce37c451e23609c682addfc10339a2448b1c Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Fri, 19 Aug 2022 10:44:49 -0400 Subject: [PATCH] Fix: stub prototypes with extra semicolons when CONFIG_HAVE_SYSCALL_TRACEPOINTS=n The stub prototypes have extra erroneous semicolons. This has been fixed by a refactoring in the master branch: commit f2db8be348380b48e3795d14e49cc585b3c357fd Author: Mathieu Desnoyers Date: Mon Nov 1 15:14:44 2021 -0400 Cleanup: syscall filter enable/disable event Fixes: #1357 Signed-off-by: Mathieu Desnoyers Change-Id: I23fa8fea006b49ae47a9a6c30c6ca5ff330d5734 --- lttng-events.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lttng-events.h b/lttng-events.h index 52981937..e2cd5445 100644 --- a/lttng-events.h +++ b/lttng-events.h @@ -693,13 +693,13 @@ static inline int lttng_syscalls_destroy(struct lttng_channel *chan) } static inline int lttng_syscall_filter_enable(struct lttng_channel *chan, - struct lttng_event *event); + struct lttng_event *event) { return -ENOSYS; } static inline int lttng_syscall_filter_disable(struct lttng_channel *chan, - struct lttng_event *event); + struct lttng_event *event) { return -ENOSYS; } -- 2.34.1