Fix: mismatch of ust_app_snapshot_record prototype
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 5 Sep 2019 00:20:00 +0000 (20:20 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 5 Sep 2019 20:39:16 +0000 (16:39 -0400)
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 <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/ust-app.h

index 89d97309f7590b882587b6ddeaa6c9fc99478f46..47eea9cace62a515278af5809b3be2ca6c30d059 100644 (file)
@@ -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;
 }
This page took 0.025559 seconds and 4 git commands to generate.