Move global variables declaration to message_port_common.c
to fix build with -fno-common
Change-Id: I5ad205124fc1ebb77accdb2d51baca2194c010ea
Signed-off-by: Dmitriy Evgenevich Gonzha <d.gonzha@samsung.com>
int check_certificate(const char *local_appid, const char *remote_appid);
char *get_encoded_name(const char *remote_app_id, const char *port_name, bool is_trusted);
-bool initialized_common;
-GDBusConnection *gdbus_conn;
-char *app_id;
+extern bool initialized_common;
+extern GDBusConnection *gdbus_conn;
+extern char *app_id;
/**
* @}
#define MAX_PACKAGE_STR_SIZE 512
#define MAX_RETRY_CNT 10
+bool initialized_common;
+GDBusConnection *gdbus_conn;
+char *app_id;
+
static const int MAX_MESSAGE_SIZE = 16 * 1024;
int write_socket(int fd,