From b12ed34b0005becf4b7e4e1102b49f5f510630c1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Sat, 14 May 2016 17:31:39 -0400 Subject: [PATCH] Hide parse_application_context utility function MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- src/common/context.c | 1 + src/common/context.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/common/context.c b/src/common/context.c index ead6bb3f5..bbd1addc8 100644 --- a/src/common/context.c +++ b/src/common/context.c @@ -25,6 +25,7 @@ #include #include +LTTNG_HIDDEN int parse_application_context(const char *str, char **out_provider_name, char **out_ctx_name) { diff --git a/src/common/context.h b/src/common/context.h index 5552f4da5..8791b71d1 100644 --- a/src/common/context.h +++ b/src/common/context.h @@ -18,6 +18,8 @@ #ifndef LTTNG_COMMON_CONTEXT_H #define LTTNG_COMMON_CONTEXT_H +#include + /* * Parse string as an application context of the form * "$app.provider_name:context_name" and return the provider name and context @@ -29,6 +31,7 @@ * Returns 0 if the string is a valid application context, else a negative * value on error. */ +LTTNG_HIDDEN int parse_application_context(const char *str, char **provider_name, char **ctx_name); -- 2.34.1