Fix: use extern for variables instead of BT_HIDDEN
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 12 Jul 2017 19:14:54 +0000 (15:14 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 19 Jul 2017 19:28:22 +0000 (15:28 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/babeltrace/lib-logging-internal.h
plugins/ctf/common/metadata/decoder.c
plugins/text/pretty/pretty.c
plugins/text/pretty/pretty.h

index a692cd5591a3cf64a8500d6a09f8f202c300689d..c68bdb8255d929ea7439a2a5a9cc29e9fae82171 100644 (file)
@@ -29,7 +29,7 @@
 
 #include <babeltrace/logging-internal.h>
 
-BT_HIDDEN
+extern
 int bt_lib_log_level;
 
 #endif /* BABELTRACE_LIB_LOGGING_INTERNAL_H */
index 763b0508a80742e69998a2705ffac20ece98ba2c..b6d3e48473ddf707bc30bbbf89b5a917b6539039 100644 (file)
@@ -33,7 +33,7 @@
 
 #define TSDL_MAGIC     0x75d11d57
 
-BT_HIDDEN
+extern
 int yydebug;
 
 struct ctf_metadata_decoder {
index f7a1b8bc08874e34a6d625532227e39302def6f6..4ac6ad6d5c20c5558483d3e5540019313e36c67b 100644 (file)
@@ -50,6 +50,8 @@
 
 #include "pretty.h"
 
+GQuark stream_packet_context_quarks[STREAM_PACKET_CONTEXT_QUARKS_LEN];
+
 static
 const char *plugin_options[] = {
        "color",
index 554fc72f8742523cb42feb2dccf992680c69a08e..2394e042d86c55f4faa36d0a627c21339dbbc66d 100644 (file)
@@ -106,6 +106,7 @@ enum stream_packet_context_quarks_enum {
        STREAM_PACKET_CONTEXT_QUARKS_LEN, /* Always the last one of this enum. */
 };
 
+extern
 GQuark stream_packet_context_quarks[STREAM_PACKET_CONTEXT_QUARKS_LEN];
 
 BT_HIDDEN
This page took 0.025974 seconds and 4 git commands to generate.