File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -338,7 +338,7 @@ static inline pid_t clone3_vfork(void)
338
338
* variant.
339
339
*/
340
340
#define FIXTURE_VARIANT_ADD (fixture_name , variant_name ) \
341
- extern FIXTURE_VARIANT(fixture_name) \
341
+ extern const FIXTURE_VARIANT(fixture_name) \
342
342
_##fixture_name##_##variant_name##_variant; \
343
343
static struct __fixture_variant_metadata \
344
344
_##fixture_name##_##variant_name##_object = \
@@ -350,7 +350,7 @@ static inline pid_t clone3_vfork(void)
350
350
__register_fixture_variant(&_##fixture_name##_fixture_object, \
351
351
&_##fixture_name##_##variant_name##_object); \
352
352
} \
353
- FIXTURE_VARIANT(fixture_name) \
353
+ const FIXTURE_VARIANT(fixture_name) \
354
354
_##fixture_name##_##variant_name##_variant =
355
355
356
356
/**
You can’t perform that action at this time.
0 commit comments