From cab07b63a1a01fe572f1f9053ea06a67bfbed1df Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 31 Mar 2016 21:18:24 -0700 Subject: [PATCH] util: Remove va_copy() implementation. 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 Acked-by: Russell Bryant --- lib/util.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/util.h b/lib/util.h index 41c5ea6ef..5a429d7a5 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.39.5