Namespace the struct definition
[babeltrace.git] / include / babeltrace / babeltrace-internal.h
index c567d3952d532ed8aabb16005f6f16f4ad7b4218..6219b3a22eb0e41fe6a3a8496502df83610f2f97 100644 (file)
@@ -45,9 +45,14 @@ extern int babeltrace_verbose, babeltrace_debug;
 #define likely(x)      __builtin_expect(!!(x), 1)
 #define unlikely(x)    __builtin_expect(!!(x), 0)
 
-struct trace_descriptor;
+/*
+ * BT_HIDDEN: set the hidden attribute for internal functions
+ */
+#define BT_HIDDEN __attribute__((visibility("hidden")))
+
+struct bt_trace_descriptor;
 struct trace_collection {
-       GPtrArray *array;       /* struct trace_descriptor */
+       GPtrArray *array;       /* struct bt_trace_descriptor */
        GHashTable *clocks;     /* struct ctf_clock */
 
        uint64_t single_clock_offset_avg;
This page took 0.027963 seconds and 4 git commands to generate.