payload-view: mark lttng_payload_view_get_fd_handle_count as const
[lttng-tools.git] / src / common / payload-view.c
index 43ddf3132c774ed414292f7044ccf83b85a4ca04..4a4edea146385ae0e2198ebfbd5a41a32d7c1c04 100644 (file)
@@ -70,7 +70,8 @@ struct lttng_payload_view lttng_payload_view_init_from_buffer(
 }
 
 LTTNG_HIDDEN
-int lttng_payload_view_get_fd_handle_count(struct lttng_payload_view *payload_view)
+int lttng_payload_view_get_fd_handle_count(
+               const struct lttng_payload_view *payload_view)
 {
        int ret;
        size_t position;
This page took 0.033179 seconds and 5 git commands to generate.