>>> On 08.11.18 at 17:08, <jbeul...@suse.com> wrote:
> --- a/xen/include/xen/lib.h
> +++ b/xen/include/xen/lib.h
> @@ -66,6 +66,10 @@
>  
>  #define ROUNDUP(x, a) (((x) + (a) - 1) & ~((a) - 1))
>  
> +#define count_va_arg_(dot, a1, a2, a3, a4, a5, a6, a7, a8, x, ...) x
> +#define count_va_arg(args...) \
> +    count_va_arg_(., ## args, 8, 7, 6, 5, 4, 3, 2, 1, 0)

I've just noticed that I forgot to rename this to count_args(),
which then I hope is no longer controversial as a name.

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to