Fix: Add missing const to lttng_tracepoint_ptr_deref prototype
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 24 Oct 2018 19:43:49 +0000 (20:43 +0100)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 24 Oct 2018 19:44:44 +0000 (20:44 +0100)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
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.026127 seconds and 4 git commands to generate.