From: Mathieu Desnoyers Date: Fri, 19 Aug 2022 14:44:49 +0000 (-0400) Subject: Fix: stub prototypes with extra semicolons when CONFIG_HAVE_SYSCALL_TRACEPOINTS=n X-Git-Tag: v2.12.10~1 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=5fecce37c451e23609c682addfc10339a2448b1c;p=lttng-modules.git 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 --- 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; }