summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2013-06-27 20:09:18 -0500
committerKristian Høgsberg <krh@bitplanet.net>2013-07-02 15:52:47 -0400
commitd94a8722cb29d8b897672be66ff3c9ff79eab6fe (patch)
tree4314f9c98913c36a12525062680440a336a88092 /tests
parent2e075874435e0f2c8a03faeec24a4062b94c47b2 (diff)
server: Make wl_object and wl_resource opaque structs
With the work to add wl_resource accessors and port weston to use them, we're ready to make wl_resource and wl_object opaque structs. We keep wl_buffer in the header for EGL stacks to use, but don't expose it by default. In time we'll remove it completely, but for now it provides a transition paths for code that still uses wl_buffer. Reviewed-by: Jason Ekstrand<jason@jlekstrand.net>
Diffstat (limited to 'tests')
-rw-r--r--tests/client-test.c2
-rw-r--r--tests/display-test.c2
-rw-r--r--tests/event-loop-test.c3
3 files changed, 4 insertions, 3 deletions
diff --git a/tests/client-test.c b/tests/client-test.c
index 5cf374d..fde3877 100644
--- a/tests/client-test.c
+++ b/tests/client-test.c
@@ -31,8 +31,8 @@
#include <sys/types.h>
#include <sys/stat.h>
-#include "wayland-server.h"
#include "wayland-private.h"
+#include "wayland-server.h"
#include "test-runner.h"
struct client_destroy_listener {
diff --git a/tests/display-test.c b/tests/display-test.c
index 95b939e..844a649 100644
--- a/tests/display-test.c
+++ b/tests/display-test.c
@@ -32,8 +32,8 @@
#include <sys/types.h>
#include <sys/stat.h>
-#include "wayland-server.h"
#include "wayland-private.h"
+#include "wayland-server.h"
#include "test-runner.h"
struct display_destroy_listener {
diff --git a/tests/event-loop-test.c b/tests/event-loop-test.c
index c46d3b0..cba46d4 100644
--- a/tests/event-loop-test.c
+++ b/tests/event-loop-test.c
@@ -25,8 +25,9 @@
#include <assert.h>
#include <unistd.h>
#include <signal.h>
-#include "wayland-server.h"
+
#include "wayland-private.h"
+#include "wayland-server.h"
#include "test-runner.h"
static int