BUG/MINOR: ARG6 and ARG7 don't fit in a 32 bits word

The patch "MEDIUM: args: increase arg type to 5 bits and limit arg count
to 5" (dbc79d0a) increased the number of types supported, but forgot to
remove the ARG6/ARG7 macros.
This commit is contained in:
Thierry FOURNIER 2015-02-17 16:09:00 +01:00 committed by Willy Tarreau
parent eb27ec7569
commit 70fd7480f9

View File

@ -48,12 +48,6 @@
#define ARG5(m, t1, t2, t3, t4, t5) \
(ARG4(m, t1, t2, t3, t4) + (ARGT_##t5 << (ARGM_BITS + ARGT_BITS * 4)))
#define ARG6(m, t1, t2, t3, t4, t5, t6) \
(ARG5(m, t1, t2, t3, t4, t5) + (ARGT_##t6 << (ARGM_BITS + ARGT_BITS * 5)))
#define ARG7(m, t1, t2, t3, t4, t5, t6, t7) \
(ARG6(m, t1, t2, t3, t4, t5, t6) + (ARGT_##t7 << (ARGM_BITS + ARGT_BITS * 6)))
/* This dummy arg list may be used by default when no arg is found, it helps
* parsers by removing pointer checks.
*/