summaryrefslogtreecommitdiff
path: root/src/modules/ecore
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2013-12-26 12:22:05 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2013-12-26 12:27:13 +0900
commit76d8532b5465362f85b75a2a7a5cc3c419304a92 (patch)
tree73482a7b3a246f56d555fd206903db683b14c6aa /src/modules/ecore
parent10dd650d90d050889771f88d8b01eb7c1f51b0bd (diff)
efl: Unified eina critical manro to CRI.
Being annoyed by different types of eina critical macros - CRI, CRIT, CRITICAL -, I concluded to unify them to one. Discussed on IRC and finally, CRI was chosen to meet the consistency with other macros - ERR, WRN, INF, DBG - in terms of the number of characters. If there is any missing bits, please let me know.
Diffstat (limited to 'src/modules/ecore')
-rw-r--r--src/modules/ecore/system/systemd/ecore_system_systemd.c6
-rw-r--r--src/modules/ecore/system/tizen/ecore_system_tizen.c6
-rw-r--r--src/modules/ecore/system/upower/ecore_system_upower.c6
3 files changed, 9 insertions, 9 deletions
diff --git a/src/modules/ecore/system/systemd/ecore_system_systemd.c b/src/modules/ecore/system/systemd/ecore_system_systemd.c
index 9579b33b98..57562224d1 100644
--- a/src/modules/ecore/system/systemd/ecore_system_systemd.c
+++ b/src/modules/ecore/system/systemd/ecore_system_systemd.c
@@ -12,10 +12,10 @@ static Eldbus_Connection *_conn = NULL;
12static Eina_List *_objs = NULL; 12static Eina_List *_objs = NULL;
13static Eina_List *_proxies = NULL; 13static Eina_List *_proxies = NULL;
14 14
15#ifdef CRITICAL 15#ifdef CRI
16#undef CRITICAL 16#undef CRI
17#endif 17#endif
18#define CRITICAL(...) EINA_LOG_DOM_CRIT(_log_dom, __VA_ARGS__) 18#define CRI(...) EINA_LOG_DOM_CRIT(_log_dom, __VA_ARGS__)
19 19
20#ifdef ERR 20#ifdef ERR
21#undef ERR 21#undef ERR
diff --git a/src/modules/ecore/system/tizen/ecore_system_tizen.c b/src/modules/ecore/system/tizen/ecore_system_tizen.c
index 69c2cf78f0..56beeb9726 100644
--- a/src/modules/ecore/system/tizen/ecore_system_tizen.c
+++ b/src/modules/ecore/system/tizen/ecore_system_tizen.c
@@ -8,10 +8,10 @@
8 8
9static int _log_dom = -1; 9static int _log_dom = -1;
10 10
11#ifdef CRITICAL 11#ifdef CRI
12#undef CRITICAL 12#undef CRI
13#endif 13#endif
14#define CRITICAL(...) EINA_LOG_DOM_CRIT(_log_dom, __VA_ARGS__) 14#define CRI(...) EINA_LOG_DOM_CRIT(_log_dom, __VA_ARGS__)
15 15
16#ifdef ERR 16#ifdef ERR
17#undef ERR 17#undef ERR
diff --git a/src/modules/ecore/system/upower/ecore_system_upower.c b/src/modules/ecore/system/upower/ecore_system_upower.c
index 5a9d2dbde1..614c364858 100644
--- a/src/modules/ecore/system/upower/ecore_system_upower.c
+++ b/src/modules/ecore/system/upower/ecore_system_upower.c
@@ -12,10 +12,10 @@ static Eldbus_Connection *_conn = NULL;
12static Eldbus_Object *_obj = NULL; 12static Eldbus_Object *_obj = NULL;
13static Eldbus_Proxy *_proxy = NULL; 13static Eldbus_Proxy *_proxy = NULL;
14 14
15#ifdef CRITICAL 15#ifdef CRI
16#undef CRITICAL 16#undef CRI
17#endif 17#endif
18#define CRITICAL(...) EINA_LOG_DOM_CRIT(_log_dom, __VA_ARGS__) 18#define CRI(...) EINA_LOG_DOM_CRIT(_log_dom, __VA_ARGS__)
19 19
20#ifdef ERR 20#ifdef ERR
21#undef ERR 21#undef ERR