Clean-up: sessiond: cmd_enable_channel_internal
[lttng-tools.git] / src / bin / lttng-sessiond / ust-consumer.h
index 5862c4837cb4b77ae391f4f96839cbe60103d656..63d8eb25ca8fb1e47bf32969527349e99530ba1b 100644 (file)
@@ -32,11 +32,12 @@ int ust_consumer_send_stream_to_ust(struct ust_app *app,
 int ust_consumer_send_channel_to_ust(struct ust_app *app,
                struct ust_app_session *ua_sess, struct ust_app_channel *channel);
 
-#if HAVE_LIBLTTNG_UST_CTL
+#ifdef HAVE_LIBLTTNG_UST_CTL
 int ust_consumer_metadata_request(struct consumer_socket *sock);
 #else
 static inline
-int ust_consumer_metadata_request(struct consumer_socket *sock)
+int ust_consumer_metadata_request(
+               struct consumer_socket *sock __attribute__((unused)))
 {
        return -ENOSYS;
 }
This page took 0.025857 seconds and 4 git commands to generate.