Fix ASAN issue multiple definition of variable 85/216385/1
authorSudipto <sudipto.bal@samsung.com>
Thu, 24 Oct 2019 07:44:59 +0000 (13:14 +0530)
committerSudipto <sudipto.bal@samsung.com>
Thu, 24 Oct 2019 07:45:09 +0000 (13:15 +0530)
The variable is_battery_monitor_enabled is no
longer required as the status of battery monitor
is now being stored in vconf

Change-Id: I77de898abb1cac6e2dfb8644f02be4adf40d97ff
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
include/bt-internal-types.c
include/bt-internal-types.h

index 402fcdd..1c91f88 100644 (file)
@@ -21,8 +21,6 @@
 
 #include "bt-internal-types.h"
 
-bool is_battery_monitor_enabled = false;
-
 tizen_profile_t profile = _PROFILE_UNKNOWN;
 
 bt_plugin_info_t *headed_plugin_info = NULL;
index 20eeb1b..39a2da1 100644 (file)
@@ -49,8 +49,6 @@ typedef enum {
        BT_FTP_SERVER,
 } bt_server_type_t;
 
-extern bool is_battery_monitor_enabled;
-
 typedef enum {
        BT_SYNC_REQ,
        BT_ASYNC_REQ