Fix: lttng-events.h check function takes void
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 17 Apr 2015 20:31:58 +0000 (16:31 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 17 Apr 2015 20:31:58 +0000 (16:31 -0400)
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 <mathieu.desnoyers@efficios.com>
probes/lttng-events.h

index 22cabbaa50a996b5acc5733e76b2d4ea97478254..7963096a93d020061dc25df3fe70a7c65a0af5e5 100644 (file)
@@ -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)
 
This page took 0.026607 seconds and 4 git commands to generate.