From: Francis Dupont Date: Sat, 16 May 2015 10:01:22 +0000 (+0200) Subject: [master] followed c99/c++11 standard for the variadic macro RECORD_DECL() (#3853) X-Git-Tag: trac3513_base~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=08ed4f64248eede2fbb9079595fc8e61e8aa0d99;p=thirdparty%2Fkea.git [master] followed c99/c++11 standard for the variadic macro RECORD_DECL() (#3853) --- diff --git a/src/lib/dhcp/std_option_defs.h b/src/lib/dhcp/std_option_defs.h index 10835e2a59..69fabbb065 100644 --- a/src/lib/dhcp/std_option_defs.h +++ b/src/lib/dhcp/std_option_defs.h @@ -30,7 +30,7 @@ namespace { /// @param name name of the array being declared. /// @param types data types of fields that belong to the record. #ifndef RECORD_DECL -#define RECORD_DECL(name, types...) const OptionDataType name[] = { types } +#define RECORD_DECL(name, ...) const OptionDataType name[] = { __VA_ARGS__ } #endif /// @brief A pair of values: one pointing to the array holding types of