Fix C99 strict compatibility: don't use void * for function pointers
[lttng-ust.git] / include / lttng / tracepoint-types.h
index ee1cd78daba67274c1d82bb5d321240ed454bb95..0c0c723729363a6cfd5a69813d37f76e7dca099a 100644 (file)
@@ -16,7 +16,7 @@
  */
 
 struct tracepoint_probe {
-       void *func;
+       void (*func)(void);
        void *data;
 };
 
This page took 0.02286 seconds and 4 git commands to generate.