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:45:15 +0000 (20:45 +0100)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
wrapper/tracepoint.h

index a860cb82a888d24d10d9d2f9621e6d6a20c7f911..f930a5a0dfdca2f1c81ef8eca06e4c09a5f57429 100644 (file)
@@ -126,7 +126,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.027392 seconds and 4 git commands to generate.