Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
08ed4f64
Commit
08ed4f64
authored
May 16, 2015
by
Francis Dupont
Browse files
[master] followed c99/c++11 standard for the variadic macro RECORD_DECL() (#3853)
parent
e2ee0d75
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dhcp/std_option_defs.h
View file @
08ed4f64
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment