From: David Goulet Date: Tue, 25 Oct 2011 19:25:11 +0000 (-0400) Subject: Fix inline function bad definition X-Git-Tag: v2.0-pre15~186 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=fbc725229d514219841cc7d86e7bd1ff638f5753 Fix inline function bad definition Signed-off-by: David Goulet --- 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)