From: Mathieu Desnoyers Date: Fri, 17 Apr 2015 20:28:53 +0000 (-0400) Subject: Fix: lttng-events.h check function takes void X-Git-Tag: v2.7.0-rc1~46 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;ds=sidebyside;h=cb1aa0c78c8a5a23e0648408c5f5bc5db978b7c1;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 0c92c17f..e6d8f447 100644 --- a/probes/lttng-events.h +++ b/probes/lttng-events.h @@ -134,7 +134,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)