Make lttng_consumer_sync_trace_file static
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 19 May 2016 22:47:54 +0000 (18:47 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 19 May 2016 22:47:54 +0000 (18:47 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/consumer/consumer.c
src/common/consumer/consumer.h

index 6773fbae868af95b5634d0d63d6724519caa7cdf..8945cb07a043f66ec267a0157dd21bce7807d78f 100644 (file)
@@ -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)
 {
index db5cbf6a01004710de022fae90bffff8e31bb53e..256ea1976016feffcf805d5d5bd0df3d8598a2bf 100644 (file)
@@ -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
This page took 0.028307 seconds and 5 git commands to generate.