Fix: ctf_fs debug variable should be extern
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 25 Nov 2016 21:26:18 +0000 (16:26 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 27 May 2017 18:09:07 +0000 (14:09 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
plugins/ctf/fs/fs.c
plugins/ctf/fs/fs.h

index 6bcadd2ca3bf481d87bc1f705a444621c2ec7eca..9ddff2a3abf24705c91652ebf785cd82b3721297 100644 (file)
@@ -46,7 +46,8 @@
 #define PRINT_PREFIX           "ctf-fs"
 #include "print.h"
 
-static bool ctf_fs_debug;
+BT_HIDDEN
+bool ctf_fs_debug;
 
 static
 struct bt_notification *ctf_fs_iterator_get(
index 30665a33bce881f008cf1a886d295abdd4ae5507..b3bd3544245e74a2bb1da5ce97ca6cf861c775a7 100644 (file)
@@ -35,7 +35,8 @@
 #define CTF_FS_COMPONENT_DESCRIPTION \
        "Component used to read a CTF trace located on a file system."
 
-static bool ctf_fs_debug;
+BT_HIDDEN
+extern bool ctf_fs_debug;
 
 struct bt_notification_heap;
 
This page took 0.025373 seconds and 4 git commands to generate.