aboutsummaryrefslogtreecommitdiff
path: root/src/zjs_common.h
diff options
context:
space:
mode:
authorGeoff Gustafson <geoff@linux.intel.com>2017-09-08 09:38:45 -0700
committerGeoff Gustafson <geoff@linux.intel.com>2017-09-11 16:13:23 -0700
commite919c7120a0074a4e51d37279604c33bb3b19b84 (patch)
tree6152902edfc4973c5348fad043804f14da742c03 /src/zjs_common.h
parent3b06db90667ebfe1aefaa7ac838d2a5055964d4c (diff)
[net] Add FTRACE feature for tracing function calls in zjs_net.c
Signed-off-by: Geoff Gustafson <geoff@linux.intel.com>
Diffstat (limited to 'src/zjs_common.h')
-rw-r--r--src/zjs_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zjs_common.h b/src/zjs_common.h
index dcb43ac..85a0351 100644
--- a/src/zjs_common.h
+++ b/src/zjs_common.h
@@ -56,14 +56,14 @@ int zjs_get_ms(void);
#else // !DEBUG_BUILD
-#define DBG_PRINT(fmt...) do {} while (0);
+#define DBG_PRINT(fmt...) do {} while (0)
#define ERR_PRINT \
ZJS_PRINT("\n%s:%d %s():\n(ERROR) ", zjs_shorten_filepath(__FILE__), \
__LINE__, __func__); \
ZJS_PRINT
-#define ZJS_ASSERT(condition, str) do {} while (0);
+#define ZJS_ASSERT(condition, str) do {} while (0)
#endif // DEBUG_BUILD