From: Mathieu Desnoyers Date: Fri, 17 Apr 2015 20:31:58 +0000 (-0400) Subject: Fix: lttng-events.h check function takes void X-Git-Tag: v2.6.1~18 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=03a98277316f615753baff0503bff28321ada432;p=lttng-modules.git Fix: lttng-events.h check function takes void The kernel nerver really emit this, but our function prototype should not take the void *data parameter, so we are similar to the the "with argument" prototype, which does not have the private data pointer. Signed-off-by: Mathieu Desnoyers --- diff --git a/probes/lttng-events.h b/probes/lttng-events.h index 22cabbaa..7963096a 100644 --- a/probes/lttng-events.h +++ b/probes/lttng-events.h @@ -181,7 +181,7 @@ void trace_##_name(_proto); #undef LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP_NOARGS #define LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP_NOARGS(_template, _name, _map) \ -void trace_##_name(void *__data); +void trace_##_name(void); #include TRACE_INCLUDE(TRACE_INCLUDE_FILE)