From fbc725229d514219841cc7d86e7bd1ff638f5753 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Tue, 25 Oct 2011 15:25:11 -0400 Subject: [PATCH] Fix inline function bad definition Signed-off-by: David Goulet --- include/lttng/lttng-ustconsumer.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/lttng/lttng-ustconsumer.h b/include/lttng/lttng-ustconsumer.h index 0d77a8939..efc4667c9 100644 --- a/include/lttng/lttng-ustconsumer.h +++ b/include/lttng/lttng-ustconsumer.h @@ -103,7 +103,10 @@ int lttng_ustconsumer_get_produced_snapshot( static inline int lttng_ustconsumer_recv_cmd(struct lttng_consumer_local_data *ctx, - int sock, struct pollfd *consumer_sockpoll); + int sock, struct pollfd *consumer_sockpoll) +{ + return -ENOSYS; +} static inline int lttng_ustconsumer_allocate_channel(struct lttng_consumer_channel *chan) -- 2.34.1