fix build warning. 49/65249/1 accepted/tizen/common/20160408.185123 accepted/tizen/ivi/20160408.104646 accepted/tizen/mobile/20160408.104557 accepted/tizen/tv/20160408.104611 accepted/tizen/wearable/20160408.104632 submit/tizen/20160408.060318
authorHyihong Chae <hh.chae@samsung.com>
Fri, 8 Apr 2016 05:35:38 +0000 (14:35 +0900)
committerHyihong Chae <hh.chae@samsung.com>
Fri, 8 Apr 2016 05:36:38 +0000 (14:36 +0900)
Change-Id: I59b8139240ca103e39929d93db23e4e0699c2ab5
Signed-off-by: HyiHong Chae <hh.chae@samsung.com>
include/dr-modem.h [changed mode: 0644->0755]
packaging/data-router.spec [changed mode: 0644->0755]
src/dr-main.c [changed mode: 0644->0755]
src/dr-noti-handler.c [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index ec2e6c5..4eabed5
@@ -27,5 +27,5 @@
 
 #include "dr-main.h"
 
-
+int _send_dtr_ctrl_signal(int status);
 #endif                         //_DR_DPRAM_H_
old mode 100644 (file)
new mode 100755 (executable)
index d3104b9..f3df732
@@ -1,6 +1,6 @@
 Name:       data-router
 Summary:    Data Router
-Version:    0.2.17
+Version:    0.2.18
 Release:    1
 Group:      Connectivity/Service
 License:    Apache-2.0
old mode 100644 (file)
new mode 100755 (executable)
index c3703d9..d425fe0
@@ -95,13 +95,15 @@ int main(int argc, char *argv[])
 {
        DBG("+\n");
 
+#if !GLIB_CHECK_VERSION (2, 35, 0)
        g_type_init();
+#endif
        _init_dbus_signal();
 
-
+#if !GLIB_CHECK_VERSION(2, 31, 0)
        if (!g_thread_supported())
                g_thread_init(NULL);
-
+#endif
        dbus_g_thread_init();
 
        _register_vconf_notification();
old mode 100644 (file)
new mode 100755 (executable)
index 9b0db91..159d621
@@ -74,7 +74,6 @@ static void __usb_status_noti_handler(void *data)
 
 static void __usb_mode_noti_handler(void *data)
 {
-       int usb_state = -1;
        int usb_mode = -1;
        int ret;