Fix C99 strict compatibility: don't use void * for function pointers
[lttng-ust.git] / liblttng-ust / ltt-events.c
index 1e058b206c066825f81358ad04724c408aa710c1..82a1119cb3d8aa1e8a1891b3e779a88bbd181c93 100644 (file)
@@ -498,7 +498,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.023637 seconds and 4 git commands to generate.