aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/api/odp_debug.h
diff options
context:
space:
mode:
authorMike Holmes <mike.holmes@linaro.org>2014-12-04 17:08:04 -0500
committerMaxim Uvarov <maxim.uvarov@linaro.org>2014-12-05 10:24:50 +0300
commitf158b205eb5316465bf2441e4b93e9e0adb5521f (patch)
treec056fd99f71de37fca41c195b5c06c11bed669af /platform/linux-generic/include/api/odp_debug.h
parent724a13aabdb129adbca5aa94a48607ed52ad07c0 (diff)
api: move internal debug macros
Remove the following from the external API and make them internal ODP_DBG ODP_ERR ODP_ABORT Signed-off-by: Mike Holmes <mike.holmes@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'platform/linux-generic/include/api/odp_debug.h')
-rw-r--r--platform/linux-generic/include/api/odp_debug.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/platform/linux-generic/include/api/odp_debug.h b/platform/linux-generic/include/api/odp_debug.h
index 1f5eaffab..cb2c3e922 100644
--- a/platform/linux-generic/include/api/odp_debug.h
+++ b/platform/linux-generic/include/api/odp_debug.h
@@ -112,30 +112,6 @@ extern int odp_override_log(odp_log_level_e level, const char *fmt, ...);
#define ODP_PRINT(fmt, ...) \
odp_override_log(ODP_LOG_PRINT, " " fmt, ##__VA_ARGS__)
-/**
- * Log debug message if ODP_DEBUG_PRINT flag is set.
- */
-#define ODP_DBG(fmt, ...) \
- do { \
- if (ODP_DEBUG_PRINT == 1) \
- ODP_LOG(ODP_LOG_DBG, fmt, ##__VA_ARGS__);\
- } while (0)
-
-/**
- * Log error message.
- */
-#define ODP_ERR(fmt, ...) \
- ODP_LOG(ODP_LOG_ERR, fmt, ##__VA_ARGS__)
-
-/**
- * Log abort message and then stop execution (by default call abort()).
- * This function should not return.
- */
-#define ODP_ABORT(fmt, ...) \
- do { \
- ODP_LOG(ODP_LOG_ABORT, fmt, ##__VA_ARGS__); \
- abort(); \
- } while (0)
/**
* @}