diff options
author | Quentin Glidic <sardemff7+git@sardemff7.net> | 2016-12-02 14:20:35 +0100 |
---|---|---|
committer | Quentin Glidic <sardemff7+git@sardemff7.net> | 2017-01-17 18:24:53 +0100 |
commit | 3d7ca3b9ea78f59d3d66228d28347c58355bc0e5 (patch) | |
tree | e95177c760e250f48e1dad57e802c3bf0d7842c0 /tests | |
parent | 23e1d6f176c13034770cfe5b2a2c1ec86e9643c3 (diff) |
libweston: Properly namespace modules entrypoint
Use different functions so we cannot load a libweston common module in
weston directly or the other way around.
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/plugin-registry-test.c | 1 | ||||
-rw-r--r-- | tests/surface-global-test.c | 1 | ||||
-rw-r--r-- | tests/surface-screenshot.c | 1 | ||||
-rw-r--r-- | tests/surface-test.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/tests/plugin-registry-test.c b/tests/plugin-registry-test.c index 7fc88f39..2a32e01e 100644 --- a/tests/plugin-registry-test.c +++ b/tests/plugin-registry-test.c @@ -28,6 +28,7 @@ #include <assert.h> #include "compositor.h" +#include "compositor/weston.h" #include "plugin-registry.h" static void diff --git a/tests/surface-global-test.c b/tests/surface-global-test.c index 55899c67..20d99ce9 100644 --- a/tests/surface-global-test.c +++ b/tests/surface-global-test.c @@ -29,6 +29,7 @@ #include <stdint.h> #include "compositor.h" +#include "compositor/weston.h" static void surface_to_from_global(void *data) diff --git a/tests/surface-screenshot.c b/tests/surface-screenshot.c index 332b5e39..6ff2bfc5 100644 --- a/tests/surface-screenshot.c +++ b/tests/surface-screenshot.c @@ -34,6 +34,7 @@ #include <linux/input.h> #include "compositor.h" +#include "compositor/weston.h" #include "file-util.h" static char * diff --git a/tests/surface-test.c b/tests/surface-test.c index 243f8dc3..44630610 100644 --- a/tests/surface-test.c +++ b/tests/surface-test.c @@ -29,6 +29,7 @@ #include <assert.h> #include "compositor.h" +#include "compositor/weston.h" static void surface_transform(void *data) |