barbieri pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=302cf367221e868e79e05e885c54116920f63fa1

commit 302cf367221e868e79e05e885c54116920f63fa1
Author: Gustavo Sverzut Barbieri <barbi...@profusion.mobi>
Date:   Tue Nov 22 17:31:13 2016 -0200

    ecore_ipc: log domain can be static, it's not shared with other files.
---
 src/lib/ecore_ipc/ecore_ipc.c         | 2 +-
 src/lib/ecore_ipc/ecore_ipc_private.h | 3 ---
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/lib/ecore_ipc/ecore_ipc.c b/src/lib/ecore_ipc/ecore_ipc.c
index 0e6c286..ed732c4 100644
--- a/src/lib/ecore_ipc/ecore_ipc.c
+++ b/src/lib/ecore_ipc/ecore_ipc.c
@@ -37,7 +37,7 @@
 #define DLT_R1     14
 #define DLT_R2     15
 
-int _ecore_ipc_log_dom = -1;
+static int _ecore_ipc_log_dom = -1;
 
 /****** This swap function are around just for backward compatibility do not 
remove *******/
 EAPI unsigned short
diff --git a/src/lib/ecore_ipc/ecore_ipc_private.h 
b/src/lib/ecore_ipc/ecore_ipc_private.h
index 89504d4..9399913 100644
--- a/src/lib/ecore_ipc/ecore_ipc_private.h
+++ b/src/lib/ecore_ipc/ecore_ipc_private.h
@@ -1,9 +1,6 @@
 #ifndef _ECORE_IPC_PRIVATE_H
 #define _ECORE_IPC_PRIVATE_H
 
-
-extern int _ecore_ipc_log_dom;
-
 #ifdef ECORE_IPC_DEFAULT_LOG_COLOR
 # undef ECORE_IPC_DEFAULT_LOG_COLOR
 #endif

-- 


Reply via email to