Fix: userspace probe accessors are not const-correct
[lttng-tools.git] / include / lttng / userspace-probe.h
index c8c1ae43af4850cd4bc9baa72100561d2edc2b53..2d8c6f1257346dc22059d19441532a1ef3b8f962 100644 (file)
@@ -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.
  */
-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);
 
This page took 0.037979 seconds and 5 git commands to generate.