Hide internal buffer-view symbols
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 21 Jun 2017 13:36:05 +0000 (09:36 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 21 Jun 2017 13:36:47 +0000 (09:36 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/buffer-view.c
src/common/buffer-view.h

index 8ff1539919a8f7140a7a2ac25780a6fcf323e5ea..4e84b0335eccee4b3a6c786f6014b07a1be4dd01 100644 (file)
 
 #include <common/buffer-view.h>
 #include <common/dynamic-buffer.h>
-#include <common/macros.h>
 #include <common/error.h>
 #include <assert.h>
 
+LTTNG_HIDDEN
 struct lttng_buffer_view lttng_buffer_view_from_view(
                const struct lttng_buffer_view *src, size_t offset,
                ptrdiff_t len)
@@ -45,6 +45,7 @@ end:
        return view;
 }
 
+LTTNG_HIDDEN
 struct lttng_buffer_view lttng_buffer_view_from_dynamic_buffer(
                const struct lttng_dynamic_buffer *src, size_t offset,
                ptrdiff_t len)
index 7d03b41dd1bb80ece8ad109ddd8e40a898e37921..d2b18f663a0d8596889d2346aba33df11dc2d024 100644 (file)
@@ -20,6 +20,7 @@
 
 #include <stddef.h>
 #include <stdint.h>
+#include <common/macros.h>
 
 struct lttng_dynamic_buffer;
 
@@ -41,6 +42,7 @@ struct lttng_buffer_view {
  * Note that a buffer view never assumes the ownership of the memory it
  * references.
  */
+LTTNG_HIDDEN
 struct lttng_buffer_view lttng_buffer_view_from_view(
                const struct lttng_buffer_view *src, size_t offset,
                ptrdiff_t len);
@@ -58,6 +60,7 @@ struct lttng_buffer_view lttng_buffer_view_from_view(
  * Note that a buffer view never assumes the ownership of the memory it
  * references.
  */
+LTTNG_HIDDEN
 struct lttng_buffer_view lttng_buffer_view_from_dynamic_buffer(
                const struct lttng_dynamic_buffer *src, size_t offset,
                ptrdiff_t len);
This page took 0.026359 seconds and 4 git commands to generate.