From: Johannes Berg <johannes.berg@xxxxxxxxx> Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx> --- backport/backport-include/backport/magic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backport/backport-include/backport/magic.h b/backport/backport-include/backport/magic.h index 222e02513ef2..d7e7cc961bbf 100644 --- a/backport/backport-include/backport/magic.h +++ b/backport/backport-include/backport/magic.h @@ -5,8 +5,8 @@ * http://efesx.com/2010/08/31/overloading-macros/ */ -#define VA_NUM_ARGS(...) VA_NUM_ARGS_IMPL(__VA_ARGS__, 5,4,3,2,1) -#define VA_NUM_ARGS_IMPL(_1,_2,_3,_4,_5,N,...) N +#define VA_NUM_ARGS(...) VA_NUM_ARGS_IMPL(__VA_ARGS__, 6,5,4,3,2,1) +#define VA_NUM_ARGS_IMPL(_1,_2,_3,_4,_5,_6,N,...) N #define macro_dispatcher(func, ...) \ macro_dispatcher_(func, VA_NUM_ARGS(__VA_ARGS__)) -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe backports" in