Fix GlobalVariable violation 06/297506/3 accepted/tizen/unified/20230822.043337
authorSeungbae Shin <seungbae.shin@samsung.com>
Mon, 21 Aug 2023 05:02:15 +0000 (14:02 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Mon, 21 Aug 2023 05:13:33 +0000 (14:13 +0900)
SAM Score: 4.64 -> 5.00
GV: 2.83 -> 5

+ fix cmake minimum required version warning

[Version] 0.2.8
[Issue Type] SAM

Change-Id: Ibc99f4a6a05e8511908be4870c6516e420e90079

CMakeLists.txt
packaging/capi-media-tone-player.spec
test/tone_player_test.c

index 6ee540b..38288b9 100755 (executable)
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
+CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
 
 SET(Services
         "application"
index ab86ebc..6663ca0 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       capi-media-tone-player
 Summary:    A tone player library in Tizen C API
-Version:    0.2.7
+Version:    0.2.8
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0
index 88881ca..f7a8092 100755 (executable)
@@ -29,7 +29,7 @@
 
 static GMainLoop *g_mainloop;
 static GThread *event_thread;
-struct sigaction sig_int_old_action;
+static struct sigaction sig_int_old_action;
 static int gid = -1;
 
 static gpointer _g_mainloop_thread(gpointer data)