Better naming this way
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1060>
}
}
-extern const struct test_device __start_test_section, __stop_test_section;
+extern const struct test_device __start_test_device_section, __stop_test_device_section;
static void
litest_init_test_devices(void)
list_init(&devices);
- for (t = &__start_test_section; t < &__stop_test_section; t++)
+ for (t = &__start_test_device_section; t < &__stop_test_device_section; t++)
list_append(&devices, &t->device->node);
}
\
static const struct test_device _test_device \
__attribute__ ((used)) \
- __attribute__ ((section ("test_section"))) = { \
+ __attribute__ ((section ("test_device_section"))) = { \
name, &_device \
}; \
static struct litest_test_device _device = { \