common: compile libconfig as C++
[lttng-tools.git] / src / common / kernel-probe.c
index 7d5006af4cc7bd450cb6b4001c5374a83ee93383..33ba00fca37a9a906cc45b59fed628ae74e7163b 100644 (file)
@@ -19,7 +19,7 @@
 #include <lttng/kernel-probe.h>
 #include <sys/stat.h>
 #include <sys/types.h>
-#include <sys/unistd.h>
+#include <unistd.h>
 
 static
 int lttng_kernel_probe_location_address_serialize(
@@ -338,7 +338,6 @@ end:
        return ret;
 }
 
-LTTNG_HIDDEN
 int lttng_kernel_probe_location_serialize(
                const struct lttng_kernel_probe_location *location,
                struct lttng_payload *payload)
@@ -452,7 +451,6 @@ end:
        return ret;
 }
 
-LTTNG_HIDDEN
 ssize_t lttng_kernel_probe_location_create_from_payload(
                struct lttng_payload_view *view,
                struct lttng_kernel_probe_location **location)
@@ -598,7 +596,6 @@ end:
        return is_equal;
 }
 
-LTTNG_HIDDEN
 bool lttng_kernel_probe_location_is_equal(
                const struct lttng_kernel_probe_location *a,
                const struct lttng_kernel_probe_location *b)
@@ -695,7 +692,6 @@ end:
        return new_location;
 }
 
-LTTNG_HIDDEN
 struct lttng_kernel_probe_location *lttng_kernel_probe_location_copy(
                const struct lttng_kernel_probe_location *location)
 {
@@ -730,7 +726,6 @@ err:
        return new_location;
 }
 
-LTTNG_HIDDEN
 unsigned long lttng_kernel_probe_location_hash(
        const struct lttng_kernel_probe_location *location)
 {
@@ -845,7 +840,6 @@ end:
        return ret_code;
 }
 
-LTTNG_HIDDEN
 enum lttng_error_code lttng_kernel_probe_location_mi_serialize(
                const struct lttng_kernel_probe_location *location,
                struct mi_writer *writer)
This page took 0.024256 seconds and 4 git commands to generate.