Fix: stub prototypes with extra semicolons when CONFIG_HAVE_SYSCALL_TRACEPOINTS=n
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 19 Aug 2022 14:44:49 +0000 (10:44 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 19 Aug 2022 14:44:49 +0000 (10:44 -0400)
The stub prototypes have extra erroneous semicolons. This has been fixed
by a refactoring in the master branch:

commit f2db8be348380b48e3795d14e49cc585b3c357fd
Author: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Date:   Mon Nov 1 15:14:44 2021 -0400

    Cleanup: syscall filter enable/disable event

Fixes: #1357
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I23fa8fea006b49ae47a9a6c30c6ca5ff330d5734

lttng-events.h

index 5298193775451fab72837f3ff5966d7d8fe5a348..e2cd544559d512b7443def6035569060a3ced300 100644 (file)
@@ -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;
 }
This page took 0.027163 seconds and 4 git commands to generate.