From: Jérémie Galarneau Date: Wed, 24 Jul 2024 18:22:22 +0000 (+0000) Subject: Clean-up: sessiond: ust-ctl-internal: fix clang-tidy warnings X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=af9ab8f4cfd72ed68f57922f53ac471c1226b854;p=lttng-tools.git Clean-up: sessiond: ust-ctl-internal: fix clang-tidy warnings Change-Id: I797e49ed73524d19decb9fc53a5423ccfd5df7a1 Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/ust-ctl-internal.hpp b/src/bin/lttng-sessiond/ust-ctl-internal.hpp index bb2b31868..d2463c93f 100644 --- a/src/bin/lttng-sessiond/ust-ctl-internal.hpp +++ b/src/bin/lttng-sessiond/ust-ctl-internal.hpp @@ -180,7 +180,7 @@ struct lttng_ust_ctl_consumer_channel; struct lttng_ust_ctl_consumer_stream; struct lttng_ust_ctl_consumer_channel_attr; -int lttng_ust_ctl_get_nr_stream_per_channel(void); +int lttng_ust_ctl_get_nr_stream_per_channel(); struct lttng_ust_ctl_consumer_channel *lttng_ust_ctl_create_channel( struct lttng_ust_ctl_consumer_channel_attr *attr, const int *stream_fds, int nr_stream_fds); @@ -286,7 +286,7 @@ int lttng_ust_ctl_get_instance_id(struct lttng_ust_ctl_consumer_stream *stream, int lttng_ust_ctl_get_current_timestamp(struct lttng_ust_ctl_consumer_stream *stream, uint64_t *ts); /* returns whether UST has perf counters support. */ -int lttng_ust_ctl_has_perf_counters(void); +int lttng_ust_ctl_has_perf_counters(); /* Regenerate the statedump. */ int lttng_ust_ctl_regenerate_statedump(int sock, int handle); @@ -632,7 +632,7 @@ enum lttng_ust_ctl_counter_alloc { struct lttng_ust_ctl_daemon_counter; -int lttng_ust_ctl_get_nr_cpu_per_counter(void); +int lttng_ust_ctl_get_nr_cpu_per_counter(); struct lttng_ust_ctl_counter_dimension { uint64_t size;