From: Andrey Kazmin Date: Thu, 13 Feb 2020 12:00:49 +0000 (+0300) Subject: Fixed ASan build with -fno-common X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Fsandbox%2Fakazmin%2Ftizen6_asan;hp=45979829138667698657d59a9b70a73691707d36;p=platform%2Fcore%2Fuifw%2Flibpui.git Fixed ASan build with -fno-common Signed-off-by: Andrey Kazmin --- diff --git a/include/PUI_common.h b/include/PUI_common.h index d937115..0a0a52d 100644 --- a/include/PUI_common.h +++ b/include/PUI_common.h @@ -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, diff --git a/src/PUI.c b/src/PUI.c index 4db7180..013e43e 100644 --- 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;