X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=images%2Ferror.h;h=77760b2a2197748e7bd645c075a5bd95e2cdcd1a;hb=bc2bbfcbe76e78db9cde27455ddbcfe1ddcc61d6;hp=92f3766fbac2d1edb5aaaa5ab26b3c117349bf53;hpb=62eda8640605c19ecd817e274e75717022349732;p=libucw.git diff --git a/images/error.h b/images/error.h index 92f3766f..77760b2a 100644 --- a/images/error.h +++ b/images/error.h @@ -1,7 +1,11 @@ #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 */ @@ -29,7 +33,7 @@ enum image_msg_code { #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