Re: [nft PATCH 1/3] src: expose delinearize/linearize structures and stmt_error()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> diff --git a/src/evaluate.c b/src/evaluate.c
> index 7ecb793..c420cd4 100644
> --- a/src/evaluate.c
> +++ b/src/evaluate.c
> @@ -36,10 +36,10 @@ static const char *byteorder_names[] = {
>  	[BYTEORDER_BIG_ENDIAN]		= "big endian",
>  };
>  
> -static int __fmtstring(4, 5) __stmt_binary_error(struct eval_ctx *ctx,
> -						 const struct location *l1,
> -						 const struct location *l2,
> -						 const char *fmt, ...)
> +int __fmtstring(4, 5) __stmt_binary_error(struct eval_ctx *ctx,
> +					  const struct location *l1,
> +					  const struct location *l2,
> +					  const char *fmt, ...)
>  {
>  	struct error_record *erec;
>  	va_list ap;

Lets move this to erec.c and rename it to __binary_error. Its only
in evaluate.c because it didn't use to have other users.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux