Move variable definition from header to source 82/127982/1 accepted/tizen/unified/20170609.053012 submit/tizen/20170607.041132
authorSlava Barinov <v.barinov@samsung.com>
Wed, 3 May 2017 10:30:17 +0000 (13:30 +0300)
committerSlava Barinov <v.barinov@samsung.com>
Wed, 3 May 2017 10:38:22 +0000 (13:38 +0300)
This enables ASan build with -fno-common

Change-Id: I1cb44c38ea2973e5e95268d4366ab6005eef8a8d
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
bt-share/include/obex-event-handler.h
bt-share/src/obex-event-handler.c

index c493f7025c1751f5253e2c0ef7fe2ce5e75b3806..35a1c9cee1cd664bc4f5605f4200f4eed7df1e9c 100644 (file)
@@ -59,7 +59,7 @@ typedef struct {
        bt_transfer_status_info_t send_data;
 } bt_device_snd_noti_info_t;
 
-bt_obex_server_authorize_into_t server_auth_info;
+extern bt_obex_server_authorize_into_t server_auth_info;
 
 void _bt_clear_receive_noti_list(void);
 
index 0bc2270a50905a73aacb796a1344f5b69cd63c74..aaf53227437771ae5d6c59d9a59fc22901dd0776 100644 (file)
@@ -73,6 +73,7 @@ extern GSList *bt_transfer_list;
 GSList *bt_receive_noti_list;
 GSList *bt_rcv_noti_info_list = NULL;
 GSList *bt_snd_noti_info_list = NULL;
+bt_obex_server_authorize_into_t server_auth_info;
 
 static gboolean isTransferConnectedReceived = FALSE;
 
@@ -1668,4 +1669,3 @@ static void *__bt_obex_writeclose(bt_file_info_t *info)
 
        return NULL;
 }
-