From: Jérémie Galarneau Date: Thu, 19 May 2016 22:47:54 +0000 (-0400) Subject: Make lttng_consumer_sync_trace_file static X-Git-Tag: v2.9.0-rc1~152 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=5199ffc42ddba932175270f7620664358bd1e18f;p=lttng-tools.git Make lttng_consumer_sync_trace_file static Signed-off-by: Jérémie Galarneau --- diff --git a/src/common/consumer/consumer.c b/src/common/consumer/consumer.c index 6773fbae8..8945cb07a 100644 --- a/src/common/consumer/consumer.c +++ b/src/common/consumer/consumer.c @@ -1229,6 +1229,11 @@ void lttng_consumer_should_exit(struct lttng_consumer_local_data *ctx) DBG("Consumer flag that it should quit"); } + +/* + * Flush pending writes to trace output disk file. + */ +static void lttng_consumer_sync_trace_file(struct lttng_consumer_stream *stream, off_t orig_offset) { diff --git a/src/common/consumer/consumer.h b/src/common/consumer/consumer.h index db5cbf6a0..256ea1976 100644 --- a/src/common/consumer/consumer.h +++ b/src/common/consumer/consumer.h @@ -626,12 +626,6 @@ void lttng_consumer_should_exit(struct lttng_consumer_local_data *ctx); */ void lttng_consumer_cleanup(void); -/* - * Flush pending writes to trace output disk file. - */ -void lttng_consumer_sync_trace_file(struct lttng_consumer_stream *stream, - off_t orig_offset); - /* * Poll on the should_quit pipe and the command socket return -1 on error and * should exit, 0 if data is available on the command socket