diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-02-12 12:28:18 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-02-12 15:24:11 +0100 |
commit | e09f69509f160a22c9290fac054b790b0a80a0cc (patch) | |
tree | de8a91b6e1acb1fd007611bf032dc42cbdc10939 /include/mupdf/fitz/context.h | |
parent | d84a2578417f812b6706e6274afecf05a3b34be2 (diff) | |
download | mupdf-e09f69509f160a22c9290fac054b790b0a80a0cc.tar.xz |
Don't pollute global namespace with __printflike.
Use a FZ_PRINTFLIKE macro instead.
Diffstat (limited to 'include/mupdf/fitz/context.h')
-rw-r--r-- | include/mupdf/fitz/context.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mupdf/fitz/context.h b/include/mupdf/fitz/context.h index caa22977..5a05f940 100644 --- a/include/mupdf/fitz/context.h +++ b/include/mupdf/fitz/context.h @@ -78,10 +78,10 @@ void fz_var_imp(void *); int fz_push_try(fz_context *ctx); FZ_NORETURN void fz_vthrow(fz_context *ctx, int errcode, const char *, va_list ap); -FZ_NORETURN void fz_throw(fz_context *ctx, int errcode, const char *, ...) __printflike(3, 4); +FZ_NORETURN void fz_throw(fz_context *ctx, int errcode, const char *, ...) FZ_PRINTFLIKE(3,4); FZ_NORETURN void fz_rethrow(fz_context *ctx); void fz_vwarn(fz_context *ctx, const char *fmt, va_list ap); -void fz_warn(fz_context *ctx, const char *fmt, ...) __printflike(2, 3); +void fz_warn(fz_context *ctx, const char *fmt, ...) FZ_PRINTFLIKE(2,3); const char *fz_caught_message(fz_context *ctx); int fz_caught(fz_context *ctx); void fz_rethrow_if(fz_context *ctx, int errcode); |