projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: userspace probe accessors are not const-correct
[lttng-tools.git]
/
include
/
lttng
/
userspace-probe.h
diff --git
a/include/lttng/userspace-probe.h
b/include/lttng/userspace-probe.h
index c8c1ae43af4850cd4bc9baa72100561d2edc2b53..2d8c6f1257346dc22059d19441532a1ef3b8f962 100644
(file)
--- a/
include/lttng/userspace-probe.h
+++ b/
include/lttng/userspace-probe.h
@@
-126,7
+126,7
@@
extern int lttng_userspace_probe_location_function_get_binary_fd(
*
* The ownership of the lookup method is NOT transferred to the caller.
*/
*
* The ownership of the lookup method is NOT transferred to the caller.
*/
-extern struct lttng_userspace_probe_location_lookup_method *
+extern
const
struct lttng_userspace_probe_location_lookup_method *
lttng_userspace_probe_location_get_lookup_method(
const struct lttng_userspace_probe_location *location);
lttng_userspace_probe_location_get_lookup_method(
const struct lttng_userspace_probe_location *location);
This page took
0.02394 seconds
and
4
git commands to generate.