X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=wrapper%2Ftracepoint.h;h=f930a5a0dfdca2f1c81ef8eca06e4c09a5f57429;hb=0ff00f07e153ef9e74c180648d0c99ba332092e1;hp=a860cb82a888d24d10d9d2f9621e6d6a20c7f911;hpb=be1ca2feda8a922480d33f1e987deb4e872b54cf;p=lttng-modules.git diff --git a/wrapper/tracepoint.h b/wrapper/tracepoint.h index a860cb82..f930a5a0 100644 --- a/wrapper/tracepoint.h +++ b/wrapper/tracepoint.h @@ -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; }