Fixed ASan build with -fno-common sandbox/akazmin/tizen6_asan
authorAndrey Kazmin <a.kazmin@partner.samsung.com>
Thu, 13 Feb 2020 12:00:49 +0000 (15:00 +0300)
committerAndrey Kazmin <a.kazmin@partner.samsung.com>
Thu, 13 Feb 2020 12:00:49 +0000 (15:00 +0300)
Signed-off-by: Andrey Kazmin <a.kazmin@partner.samsung.com>
include/PUI_common.h
src/PUI.c

index d937115..0a0a52d 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef _LIBPUI_COMMON_H_
 #define _LIBPUI_COMMON_H_
 
-int _pui_log_level;
+extern int _pui_log_level;
 
 typedef enum {
        PUI_ERROR_NONE,
index 4db7180..013e43e 100644 (file)
--- a/src/PUI.c
+++ b/src/PUI.c
@@ -39,6 +39,8 @@
 extern EAPI void ecore_wl2_window_buffer_attach(Ecore_Wl2_Window *win, void *buffer, int x, int y, Eina_Bool implicit);
 extern EAPI void ecore_wl2_window_damage(Ecore_Wl2_Window *window, Eina_Rectangle *rects, unsigned int count);
 
+int _pui_log_level;
+
 static int _pui_init_count = 0;
 static pui_module_data *pui_module = NULL;