projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Add missing const to lttng_tracepoint_ptr_deref prototype
[lttng-modules.git]
/
wrapper
/
tracepoint.h
diff --git
a/wrapper/tracepoint.h
b/wrapper/tracepoint.h
index 23bc6e2590fedcc21072f0eb2d91dd45d95beb86..0c5a296f2d3c35e493580c00336097e6e15c983b 100644
(file)
--- 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)) */
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;
}
{
return *p;
}
This page took
0.024524 seconds
and
4
git commands to generate.