From 03a98277316f615753baff0503bff28321ada432 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Fri, 17 Apr 2015 16:31:58 -0400 Subject: [PATCH] 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 --- probes/lttng-events.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.34.1