The change fixes build with -fno-common and enables Address Sanitizer.
Change-Id: Ide7441f61fead0f231ca2165b8236ab943baebff
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
static int __compare_files(char *path1, char *path2);
static void __print_to_file(char *msg);
static void __free_g_list(GList *list);
+char message[MAX_MESSAGE_LEN];
static void __free_g_list(GList *list)
{
#define UNZIPFILE "_FILES"
#define MAX_MESSAGE_LEN 1024
#define BUF_SIZE 1024
-char message[MAX_MESSAGE_LEN];
+extern char message[MAX_MESSAGE_LEN];
void __create_diff_file(char *old_tpk_path, char *new_tpk_path);
int __xsystem(const char *argv[]);