From: Mathieu Desnoyers Date: Fri, 25 Nov 2016 21:26:18 +0000 (-0500) Subject: Fix: ctf_fs debug variable should be extern X-Git-Tag: v2.0.0-pre1~650 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=78bb69921f768b27d0f20718aa2038ceba09fbda Fix: ctf_fs debug variable should be extern Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau --- 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;