From: Jérémie Galarneau Date: Wed, 21 Jun 2017 13:36:05 +0000 (-0400) Subject: Hide internal buffer-view symbols X-Git-Tag: v2.11.0-rc1~514 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ff28f8657b7eafa590f914e85dcd30935244cc97;p=lttng-tools.git Hide internal buffer-view symbols Signed-off-by: Jérémie Galarneau --- diff --git a/src/common/buffer-view.c b/src/common/buffer-view.c index 8ff153991..4e84b0335 100644 --- a/src/common/buffer-view.c +++ b/src/common/buffer-view.c @@ -17,10 +17,10 @@ #include #include -#include #include #include +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) diff --git a/src/common/buffer-view.h b/src/common/buffer-view.h index 7d03b41dd..d2b18f663 100644 --- a/src/common/buffer-view.h +++ b/src/common/buffer-view.h @@ -20,6 +20,7 @@ #include #include +#include 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);