From 78bb69921f768b27d0f20718aa2038ceba09fbda Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Fri, 25 Nov 2016 16:26:18 -0500 Subject: [PATCH] Fix: ctf_fs debug variable should be extern MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau --- plugins/ctf/fs/fs.c | 3 ++- plugins/ctf/fs/fs.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/ctf/fs/fs.c b/plugins/ctf/fs/fs.c index 6bcadd2c..9ddff2a3 100644 --- a/plugins/ctf/fs/fs.c +++ b/plugins/ctf/fs/fs.c @@ -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( diff --git a/plugins/ctf/fs/fs.h b/plugins/ctf/fs/fs.h index 30665a33..b3bd3544 100644 --- a/plugins/ctf/fs/fs.h +++ b/plugins/ctf/fs/fs.h @@ -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; -- 2.34.1