Fix C99 strict compatibility: don't use void * for function pointers
[lttng-ust.git] / liblttng-ust / ltt-events.c
index 226eca287df44c9f62392242d9c6342a01a49b06..0fdfd2fd5bcdb115ace5ea1b4d70663c50b0a8eb 100644 (file)
@@ -500,7 +500,7 @@ void _ltt_channel_destroy(struct ltt_channel *chan)
  */
 int ltt_event_create(struct ltt_channel *chan,
                struct lttng_ust_event *event_param,
-               void *filter,
+               void (*filter)(struct ltt_event *event),
                struct ltt_event **_event)
 {
        const struct lttng_event_desc *desc = NULL;     /* silence gcc */
This page took 0.024561 seconds and 4 git commands to generate.