Hide bt_ctf_writer_get_trace()
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 24 Oct 2016 01:34:13 +0000 (21:34 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 24 Oct 2016 17:25:31 +0000 (13:25 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
formats/ctf/writer/writer.c
include/babeltrace/ctf-writer/writer-internal.h
include/babeltrace/ctf-writer/writer.h

index 6c294931c49cb47ac1c55fc731a531342423d142..8f7fd9eb0f301192f0b1233b5738ce31ec55e5a6 100644 (file)
@@ -125,6 +125,7 @@ void bt_ctf_writer_destroy(struct bt_object *obj)
        g_free(writer);
 }
 
+BT_HIDDEN
 struct bt_ctf_trace *bt_ctf_writer_get_trace(struct bt_ctf_writer *writer)
 {
        struct bt_ctf_trace *trace = NULL;
index 3fa03b5953cc33bcdd5145ffe5edeb3fcbfe2a0e..b7da4b763bcf846f9ab28a7735db2577c08c8868 100644 (file)
@@ -47,4 +47,14 @@ struct bt_ctf_writer {
 BT_HIDDEN
 void bt_ctf_writer_freeze(struct bt_ctf_writer *writer);
 
+/*
+ * bt_ctf_writer_get_trace: Get a writer's associated trace.
+ *
+ * @param writer Writer instance.
+ *
+ * Return the writer's associated instance, NULL on error.
+ */
+BT_HIDDEN
+struct bt_ctf_trace *bt_ctf_writer_get_trace(struct bt_ctf_writer *writer);
+
 #endif /* BABELTRACE_CTF_WRITER_WRITER_INTERNAL_H */
index 8cfa094ca44578557c28dff2799d080c3b313c15..affc6503fa544290af54ab5291dd3323e499dfb4 100644 (file)
@@ -53,16 +53,6 @@ struct bt_ctf_clock;
  */
 extern struct bt_ctf_writer *bt_ctf_writer_create(const char *path);
 
-/*
- * bt_ctf_writer_get_trace: Get a writer's associated trace.
- *
- * @param writer Writer instance.
- *
- * Return the writer's associated instance, NULL on error.
- */
-extern struct bt_ctf_trace *bt_ctf_writer_get_trace(
-               struct bt_ctf_writer *writer);
-
 /*
  * bt_ctf_writer_create_stream: create a stream instance.
  *
This page took 0.025198 seconds and 4 git commands to generate.