Hide parse_application_context utility function
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 14 May 2016 21:31:39 +0000 (17:31 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 14 May 2016 21:31:39 +0000 (17:31 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/context.c
src/common/context.h

index ead6bb3f5c0b7a515041231e41070b5b9c3caeac..bbd1addc8e1b998e7b08e4d1871f45c0bc0d5d27 100644 (file)
@@ -25,6 +25,7 @@
 #include <common/error.h>
 #include <common/macros.h>
 
+LTTNG_HIDDEN
 int parse_application_context(const char *str, char **out_provider_name,
                char **out_ctx_name)
 {
index 5552f4da5736c400c661142a2cc8f8fe285b10b9..8791b71d1a46c94d8b0c91976be5abec5e58fd80 100644 (file)
@@ -18,6 +18,8 @@
 #ifndef LTTNG_COMMON_CONTEXT_H
 #define LTTNG_COMMON_CONTEXT_H
 
+#include <common/macros.h>
+
 /*
  * 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);
 
This page took 0.026302 seconds and 4 git commands to generate.