This was here to help out older compilers that do not include va_copy(), which was new in C99. All the compilers we care about these days (GCC, Clang, MSVC) do support va_copy(), so remove it.
Signed-off-by: Ben Pfaff <b...@ovn.org> --- lib/util.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/util.h b/lib/util.h index 41c5ea6..5a429d7 100644 --- a/lib/util.h +++ b/lib/util.h @@ -31,14 +31,6 @@ #include "openvswitch/types.h" #include "openvswitch/util.h" -#ifndef va_copy -#ifdef __va_copy -#define va_copy __va_copy -#else -#define va_copy(dst, src) ((dst) = (src)) -#endif -#endif - extern char *program_name; #define __ARRAY_SIZE_NOCHECK(ARRAY) (sizeof(ARRAY) / sizeof((ARRAY)[0])) -- 2.1.3 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev