#ifndef _IMAGES_ERROR_H
#define _IMAGES_ERROR_H
-extern uns image_trace; /* ImageLib.Trace */
+#ifdef CONFIG_UCW_CLEAN_ABI
+#define image_trace ucw_image_trace
+#endif
+
+extern uint image_trace; /* ImageLib.Trace */
/* Error codes */
#define IMAGE_ERROR(ctx, type, msg...) image_context_msg((ctx), IMAGE_MSG_ERROR | (type), msg)
#define IMAGE_TRACE(ctx, level, msg...) do { \
- struct image_context *_ctx = (ctx); uns _level = (level); \
+ struct image_context *_ctx = (ctx); uint _level = (level); \
if (_level < _ctx->tracing_level) image_context_msg(_ctx, IMAGE_MSG_TRACE | _level, msg); } while (0)
#endif