X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=wrapper%2Ftracepoint.h;h=0c5a296f2d3c35e493580c00336097e6e15c983b;hb=refs%2Ftags%2Fv2.11.0-rc6;hp=23bc6e2590fedcc21072f0eb2d91dd45d95beb86;hpb=dd49a65565923372f5c88204e3e639100881557c;p=lttng-modules.git 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; }