Remove unused dependency in scim-helper-launcher 10/60410/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Thu, 25 Feb 2016 06:23:09 +0000 (15:23 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Thu, 25 Feb 2016 06:23:09 +0000 (15:23 +0900)
Change-Id: I16fe34b5c9311851e51eb3db2aee0b62be57ee6e

ism/src/Makefile.am
ism/src/ise_preexec.cpp
ism/src/scim_helper_launcher.cpp

index 352df62..4cda276 100644 (file)
@@ -192,7 +192,7 @@ scim_launcher_LDADD = libscim@SCIM_EPOCH@.la
 scim_launcher_CXXFLAGS  = @VCONF_CFLAGS@ @PKGMGR_INFO_CFLAGS@ @DLOG_CFLAGS@ -fPIE
 scim_launcher_LDFLAGS  = @LTLIBINTL@ @VCONF_LIBS@ @PKGMGR_INFO_LIBS@ @DLOG_LIBS@ -pie
 
-scim_helper_launcher_SOURCES   = scim_helper_launcher.cpp ise_preexec.cpp
-scim_helper_launcher_CXXFLAGS  = @PRIVILEGE_CONTROL_CFLAGS@ @ECORE_CFLAGS@ @DLOG_CFLAGS@ @ECORE_IPC_CFLAGS@ -fPIE
+scim_helper_launcher_SOURCES   = scim_helper_launcher.cpp
+scim_helper_launcher_CXXFLAGS  = -fPIE
 scim_helper_launcher_LDADD     = libscim@SCIM_EPOCH@.la
-scim_helper_launcher_LDFLAGS   = @LTLIBINTL@ @PRIVILEGE_CONTROL_LIBS@ @ECORE_LIBS@ @DLOG_LIBS@ @ECORE_IPC_LIBS@ -pie
+scim_helper_launcher_LDFLAGS   = @LTLIBINTL@ -pie
index 1526e97..765e71f 100644 (file)
 #include <Ecore.h>
 #include <Ecore_Ipc.h>
 
-Ecore_Ipc_Server *server = NULL;
+static Ecore_Ipc_Server *server = NULL;
 
-Eina_Bool sig_exit_cb (void *data, int ev_type, void *ev)
+static Eina_Bool sig_exit_cb (void *data, int ev_type, void *ev)
 {
     ecore_main_loop_quit ();
     return ECORE_CALLBACK_CANCEL;
 }
 
-Eina_Bool handler_server_data (void *data, int ev_type, void *ev) {
+static Eina_Bool handler_server_data (void *data, int ev_type, void *ev) {
     Ecore_Ipc_Event_Server_Data *e = (Ecore_Ipc_Event_Server_Data *)ev;
     if (e) {
         char message[_POSIX_PATH_MAX] = {0};
index 0b5515b..5ad76e6 100644 (file)
@@ -36,7 +36,6 @@
 #include "scim_private.h"
 #include "scim.h"
 #include <unistd.h>
-#include "ise_preexec.h"
 
 using namespace scim;