-int lttng_ustconsumer_recv_metadata(int sock, uint64_t key, uint64_t offset,
- uint64_t len, struct lttng_consumer_channel *channel)
+int lttng_ustconsumer_recv_metadata(int sock __attribute__((unused)),
+ uint64_t key __attribute__((unused)),
+ uint64_t offset __attribute__((unused)),
+ uint64_t len __attribute__((unused)),
+ uint64_t version __attribute__((unused)),
+ struct lttng_consumer_channel *channel __attribute__((unused)),
+ int timer __attribute__((unused)))
+{
+ return -ENOSYS;
+}
+
+static inline
+int lttng_ustconsumer_request_metadata(
+ struct lttng_consumer_local_data *ctx __attribute__((unused)),
+ struct lttng_consumer_channel *channel __attribute__((unused)),
+ int timer __attribute__((unused)),
+ int wait __attribute__((unused)))