summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-21 18:01:47 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-21 18:01:47 +0200
commitbd2645e81b46d81fdee070c6088618b26c9b56f0 (patch)
tree51d6723f01eb3704554fb1f20adbefa23c7343c1
parent089d64162fbafb68515c06d4516e302081f5c7c3 (diff)
downloadedoors-bd2645e81b46d81fdee070c6088618b26c9b56f0.zip
edoors-bd2645e81b46d81fdee070c6088618b26c9b56f0.tar.gz
eiotas_private.h: fix CHECK_PARENT and BUILD_INSTANCE macros
-rw-r--r--src/lib/eiotas_private.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/eiotas_private.h b/src/lib/eiotas_private.h
index 272b16c..67ed4f3 100644
--- a/src/lib/eiotas_private.h
+++ b/src/lib/eiotas_private.h
@@ -30,17 +30,17 @@
#define MAX_PATH_LENGTH 256
#define PATH_SEP '/'
-#define CHECK_PARENT() \
- if(parent==NULL) { \
- EINA_LOG_ERR("NULL parent not allowed"); \
- return NULL; \
+#define CHECK_PARENT() \
+ if(parent==NULL) { \
+ ERR("NULL parent not allowed"); \
+ return NULL; \
}
-#define BUILD_INSTANCE(_type,_x) \
- _type *_x = (_type*)malloc(sizeof(_type)); \
- if(_x==NULL) { \
- EINA_LOG_ERR("malloc error"); \
- return NULL; \
+#define BUILD_INSTANCE(_type,_x) \
+ _type *_x = (_type*)malloc(sizeof(_type)); \
+ if(_x==NULL) { \
+ ERR("malloc error"); \
+ return NULL; \
}
#ifdef CRITICAL