diff options
author | Jon Cruz <jonc@osg.samsung.com> | 2015-06-15 15:37:10 -0700 |
---|---|---|
committer | Bryce Harrington <bryce@osg.samsung.com> | 2015-06-15 17:11:58 -0700 |
commit | 867d50eea7fc8be4e286ae751b75dcb4f27df99e (patch) | |
tree | 7e2fcbb6d60eb8fe63893df709b72a88bedfcee5 /tests | |
parent | d618f688d53e1df0ac31a275ae8541dc56f283ed (diff) |
Unified multiple definitions of container_of() macro.
Removed duplicate definitions of the container_of() macro and
refactored sources to use the single implementation.
Signed-off-by: Jon A. Cruz <jonc@osg.samsung.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ivi_layout-test-plugin.c | 1 | ||||
-rw-r--r-- | tests/weston-test.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/ivi_layout-test-plugin.c b/tests/ivi_layout-test-plugin.c index c39a7144..b4abfbf2 100644 --- a/tests/ivi_layout-test-plugin.c +++ b/tests/ivi_layout-test-plugin.c @@ -35,6 +35,7 @@ #include "weston-test-server-protocol.h" #include "ivi-test.h" #include "ivi-shell/ivi-layout-export.h" +#include "shared/helpers.h" struct test_context; diff --git a/tests/weston-test.c b/tests/weston-test.c index f4fa5ce8..df9a1391 100644 --- a/tests/weston-test.c +++ b/tests/weston-test.c @@ -40,6 +40,8 @@ #include "src/weston-egl-ext.h" #endif /* ENABLE_EGL */ +#include "shared/helpers.h" + struct weston_test { struct weston_compositor *compositor; struct weston_layer layer; |