diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/expression.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/expression.h b/include/expression.h index ac6a4f4a..354e679c 100644 --- a/include/expression.h +++ b/include/expression.h @@ -268,12 +268,12 @@ extern void expr_set_type(struct expr *expr, const struct datatype *dtype, enum byteorder byteorder); struct eval_ctx; -extern int expr_binary_error(struct eval_ctx *ctx, +extern int expr_binary_error(struct list_head *msgs, const struct expr *e1, const struct expr *e2, const char *fmt, ...) __gmp_fmtstring(4, 5); -#define expr_error(ctx, expr, fmt, args...) \ - expr_binary_error(ctx, expr, NULL, fmt, ## args) +#define expr_error(msgs, expr, fmt, args...) \ + expr_binary_error(msgs, expr, NULL, fmt, ## args) static inline bool expr_is_constant(const struct expr *expr) { |