@@ -127,11 +127,15 @@ void ctl_register_module_node(struct ctl *c, const char *name,
127
127
128
128
int ctl_arg_boolean (const void * arg , void * dest , size_t dest_size );
129
129
#define CTL_ARG_BOOLEAN \
130
- {sizeof(int), {{0, sizeof(int), ctl_arg_boolean}, CTL_ARG_PARSER_END}};
130
+ { \
131
+ sizeof(int), { {0, sizeof(int), ctl_arg_boolean}, CTL_ARG_PARSER_END } \
132
+ }
131
133
132
134
int ctl_arg_integer (const void * arg , void * dest , size_t dest_size );
133
135
#define CTL_ARG_INT \
134
- {sizeof(int), {{0, sizeof(int), ctl_arg_integer}, CTL_ARG_PARSER_END}};
136
+ { \
137
+ sizeof(int), { {0, sizeof(int), ctl_arg_integer}, CTL_ARG_PARSER_END } \
138
+ }
135
139
136
140
#define CTL_ARG_LONG_LONG \
137
141
{ \
@@ -142,7 +146,9 @@ int ctl_arg_integer(const void *arg, void *dest, size_t dest_size);
142
146
143
147
int ctl_arg_string (const void * arg , void * dest , size_t dest_size );
144
148
#define CTL_ARG_STRING (len ) \
145
- {len, {{0, len, ctl_arg_string}, CTL_ARG_PARSER_END}};
149
+ { \
150
+ len, { {0, len, ctl_arg_string}, CTL_ARG_PARSER_END } \
151
+ }
146
152
147
153
#define CTL_STR (name ) #name
148
154
0 commit comments