Fix wrong return types 96/308396/1
authorHwankyu Jhun <h.jhun@samsung.com>
Sun, 24 Mar 2024 23:26:25 +0000 (08:26 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Sun, 24 Mar 2024 23:26:25 +0000 (08:26 +0900)
The return type should be 'integer'.

Change-Id: I53d1a46f390866e10c0ddee1144fdc917e11b2de
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/minicontrol-monitor.c

index 0767508..a7813b5 100644 (file)
@@ -100,7 +100,7 @@ static void _sig_to_viewer_handler_cb(minicontrol_event_e event,
 /* LCOV_EXCL_STOP */
 
 /* LCOV_EXCL_START */
-EXPORT_API minicontrol_error_e minicontrol_monitor_start(
+EXPORT_API int minicontrol_monitor_start(
                minicontrol_monitor_cb callback, void *data)
 {
        if (!callback)
@@ -129,7 +129,7 @@ EXPORT_API minicontrol_error_e minicontrol_monitor_start(
 /* LCOV_EXCL_STOP */
 
 /* LCOV_EXCL_START */
-EXPORT_API minicontrol_error_e minicontrol_monitor_stop(void)
+EXPORT_API int minicontrol_monitor_stop(void)
 {
        if (!g_monitor_h)
                return MINICONTROL_ERROR_NONE;