summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Klimenko <and.klimenko@samsung.com>2016-12-01 10:28:45 +0200
committerAndrey Klimenko <and.klimenko@samsung.com>2016-12-01 10:28:45 +0200
commit7bbfc9ba0e626096211856ad788b9c47ec8c2fb1 (patch)
tree7926a3e985621a1d98b5c5df4bf00e9caa0b8627
parent75ac805e0b6b92f5c9f870d8ae1ddf2922cd910b (diff)
downloadlibug-worldclock-efl-tizen_3.0.m2.tar.gz
libug-worldclock-efl-tizen_3.0.m2.tar.bz2
libug-worldclock-efl-tizen_3.0.m2.zip
Change-Id: I42f2a3edaefee8bfdf9ade71bb561de2bc5af6b2 Signed-off-by: Andrey Klimenko <and.klimenko@samsung.com>
-rw-r--r--inc/worldclock_dlog.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/inc/worldclock_dlog.h b/inc/worldclock_dlog.h
index 60f2408..aa87a9e 100644
--- a/inc/worldclock_dlog.h
+++ b/inc/worldclock_dlog.h
@@ -54,26 +54,26 @@
#define CLK_INFO_YELLOW(fmt, arg...) (CLK_INFO(FONT_COLOR_YELLOW fmt FONT_COLOR_RESET, ##arg))
#define CLK_INFO_CYAN(fmt, arg...) (CLK_INFO(FONT_COLOR_CYAN fmt FONT_COLOR_RESET, ##arg))
-#define ret_if (expr) ({do { \
+#define ret_if(expr) ({do { \
if (expr) { \
CLK_ERR("(%s) -> %s() return", #expr, __FUNCTION__); \
return; \
} \
} while (0); })
-#define retv_if (expr, val) ({do { \
+#define retv_if(expr, val) ({do { \
if (expr) { \
CLK_ERR("(%s) -> %s() return", #expr, __FUNCTION__); \
return (val); \
} \
} while (0); })
-#define retm_if (expr, fmt, arg...) ({do { \
+#define retm_if(expr, fmt, arg...) ({do { \
if (expr) { \
CLK_ERR(fmt, ##arg); \
CLK_ERR("(%s) -> %s() return", #expr, __FUNCTION__); \
return; \
} \
} while (0); })
-#define retvm_if (expr, val, fmt, arg...) ({do { \
+#define retvm_if(expr, val, fmt, arg...) ({do { \
if (expr) { \
CLK_ERR(fmt, ##arg); \
CLK_ERR("(%s) -> %s() return", #expr, __FUNCTION__); \
@@ -81,7 +81,7 @@
} \
} while (0); })
-#define GOTO_ERROR_if (expr) \
+#define GOTO_ERROR_IF(expr) \
({do { \
if ((expr)) { \
CLK_ERR("(%s) goto error", #expr); \