From 3637639a75795ff18c0daf7d579eaa57608e7a14 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Wed, 4 Sep 2019 20:20:00 -0400 Subject: [PATCH] Fix: mismatch of ust_app_snapshot_record prototype MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The stub of ust_app_snapshot_record() used when building without lttng-ust support does not match the actual prototype defined in ust-app.h. The consumer_output pointer parameter must be marked as const. Signed-off-by: Jérémie Galarneau --- src/bin/lttng-sessiond/ust-app.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/lttng-sessiond/ust-app.h b/src/bin/lttng-sessiond/ust-app.h index 89d97309f..47eea9cac 100644 --- a/src/bin/lttng-sessiond/ust-app.h +++ b/src/bin/lttng-sessiond/ust-app.h @@ -536,7 +536,7 @@ void ust_app_destroy(struct ust_app *app) } static inline enum lttng_error_code ust_app_snapshot_record(struct ltt_ust_session *usess, - struct consumer_output *output, int wait, uint64_t max_stream_size) + const struct consumer_output *output, int wait, uint64_t max_stream_size) { return 0; } -- 2.34.1