Fixed the build error using gcc 13 94/294994/1 accepted/tizen_unified_riscv accepted/tizen/unified/20231215.165050 accepted/tizen/unified/dev/20230726.115840 accepted/tizen/unified/riscv/20231219.110015
authorwchang kim <wchang.kim@samsung.com>
Thu, 29 Jun 2023 08:35:14 +0000 (17:35 +0900)
committerwchang kim <wchang.kim@samsung.com>
Thu, 29 Jun 2023 08:35:14 +0000 (17:35 +0900)
Change-Id: I6d2f34134d9293e9e53a10b8d3ec23663b5cf269

tests/unittest/utc-user-awareness-common.h
tests/unittest/utc-user-awareness.c

index 5e2e62dc330eee06107a8e14bd796d04a8c7e071..223480035ad9ae38fad6c839b47bb064f9f53412 100755 (executable)
 
 #define CASE_TO_STR(x) case x: return #x;
 
-GMainLoop *g_pMainLoop;
-guint g_nTimeoutId;
-int g_nCallbackRet;
-bool g_bInitialized;
-bool g_bFeatureUA;
+extern GMainLoop *g_pMainLoop;
+extern guint g_nTimeoutId;
+extern int g_nCallbackRet;
+extern bool g_bInitialized;
+extern bool g_bFeatureUA;
 
 #define RUN_GMAIN_LOOP {\
        g_pMainLoop = g_main_loop_new(NULL, false);\
index 9e653ee5908f08dcfc5a15f86da3297eee06968a..43124207c2b43c997fd1b04607619f63583e356e 100755 (executable)
 #include "utc-user-awareness-common.h"
 #include "assert_local.h"
 
+GMainLoop *g_pMainLoop;
+guint g_nTimeoutId;
+int g_nCallbackRet;
+bool g_bInitialized;
+bool g_bFeatureUA;
+
 static bool __ua_foreach_service_cb(
        ua_service_h service_handle, void *user_data)
 {