tests: preserve ivi runner section

Everywhere else where use this trick, we also have 'used' in the
attributes, except here. Make this consistent.

Fixes: https://gitlab.freedesktop.org/wayland/weston/-/issues/517

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
dev
Pekka Paalanen 3 years ago committed by Marius Vlad
parent 78c94d0719
commit 5ba7ae2937
  1. 2
      tests/ivi-layout-test-plugin.c

@ -53,7 +53,7 @@ struct runner_test {
static void runner_func_##name(struct test_context *); \
\
const struct runner_test runner_test_##name \
__attribute__ ((section ("plugin_test_section"))) = \
__attribute__ ((used, section ("plugin_test_section"))) = \
{ \
#name, runner_func_##name \
}; \

Loading…
Cancel
Save