X-Git-Url: http://git.lttng.org/?p=lttng-modules.git;a=blobdiff_plain;f=wrapper%2Ftracepoint.h;h=0c5a296f2d3c35e493580c00336097e6e15c983b;hp=23bc6e2590fedcc21072f0eb2d91dd45d95beb86;hb=61259e636a25743222297254b4d212017636451a;hpb=c1b0a62512c0dad3c79f3eb29ed29d3a702f2274 diff --git a/wrapper/tracepoint.h b/wrapper/tracepoint.h index 23bc6e25..0c5a296f 100644 --- a/wrapper/tracepoint.h +++ b/wrapper/tracepoint.h @@ -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; }