From: Sung-Jin Park Date: Thu, 20 Feb 2020 11:47:28 +0000 (+0900) Subject: pui: fix multiple definition of _pui_log_level X-Git-Tag: submit/tizen/20200221.015657^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_6.0_unified;p=platform%2Fcore%2Fuifw%2Flibpui.git pui: fix multiple definition of _pui_log_level Change-Id: Iedbf1276bbe9f085ef77bb8069ec71ba46303fed Signed-off-by: Sung-Jin Park --- 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..463956e 100644 --- a/src/PUI.c +++ b/src/PUI.c @@ -39,6 +39,7 @@ 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;