Fix: set hidden attribute to all public mi functions
authorDavid Goulet <dgoulet@efficios.com>
Wed, 1 Oct 2014 20:10:54 +0000 (16:10 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Wed, 1 Oct 2014 20:11:14 +0000 (16:11 -0400)
Reported-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/mi-lttng.c

index a250546d75bfe45d1c974725187ffef258d19eef..cb30e507ec10a9bc88ead14dde8fb7aa55e4cef7 100644 (file)
@@ -147,6 +147,7 @@ const char * const mi_lttng_element_snapshots = "snapshots";
  * Those should never overlap by definition
  * (see struct lttng_event loglevel)
  */
+LTTNG_HIDDEN
 const char *mi_lttng_loglevel_string(int value)
 {
        switch (value) {
@@ -205,6 +206,7 @@ const char *mi_lttng_loglevel_string(int value)
        }
 }
 
+LTTNG_HIDDEN
 const char *mi_lttng_logleveltype_string(enum lttng_loglevel_type value)
 {
        switch (value) {
@@ -219,6 +221,7 @@ const char *mi_lttng_logleveltype_string(enum lttng_loglevel_type value)
        }
 }
 
+LTTNG_HIDDEN
 const char *mi_lttng_eventtype_string(enum lttng_event_type value)
 {
        switch (value) {
@@ -241,6 +244,7 @@ const char *mi_lttng_eventtype_string(enum lttng_event_type value)
        }
 }
 
+LTTNG_HIDDEN
 const char *mi_lttng_event_contexttype_string(enum lttng_event_context_type val)
 {
        switch (val) {
@@ -279,6 +283,7 @@ const char *mi_lttng_event_contexttype_string(enum lttng_event_context_type val)
        }
 }
 
+LTTNG_HIDDEN
 const char *mi_lttng_eventfieldtype_string(enum lttng_event_field_type val)
 {
        switch (val) {
@@ -295,6 +300,7 @@ const char *mi_lttng_eventfieldtype_string(enum lttng_event_field_type val)
        }
 }
 
+LTTNG_HIDDEN
 const char *mi_lttng_domaintype_string(enum lttng_domain_type value)
 {
        /* Note: This is a *duplicate* of get_domain_str from bin/lttng/utils.c */
@@ -313,6 +319,7 @@ const char *mi_lttng_domaintype_string(enum lttng_domain_type value)
        }
 }
 
+LTTNG_HIDDEN
 const char *mi_lttng_buffertype_string(enum lttng_buffer_type value)
 {
        switch (value) {
@@ -328,6 +335,7 @@ const char *mi_lttng_buffertype_string(enum lttng_buffer_type value)
        }
 }
 
+LTTNG_HIDDEN
 const char *mi_lttng_calibratetype_string(enum lttng_calibrate_type val)
 {
        const char *ret;
This page took 0.026936 seconds and 4 git commands to generate.