Fix: Add missing const to lttng_tracepoint_ptr_deref prototype
[lttng-modules.git] / wrapper / tracepoint.h
index 23bc6e2590fedcc21072f0eb2d91dd45d95beb86..0c5a296f2d3c35e493580c00336097e6e15c983b 100644 (file)
@@ -113,7 +113,7 @@ static inline struct tracepoint *lttng_tracepoint_ptr_deref(tracepoint_ptr_t *p)
        return tracepoint_ptr_deref(p);
 }
 #else /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,19,0)) */
-static inline struct tracepoint *lttng_tracepoint_ptr_deref(struct tracepoint **p)
+static inline struct tracepoint *lttng_tracepoint_ptr_deref(struct tracepoint * const *p)
 {
        return *p;
 }
This page took 0.024204 seconds and 4 git commands to generate.