<div dir="ltr"><div>Didn't break anything here and looks ok.<br><br></div><div>Acked-by: Marek Chalupa <<a href="mailto:mchqwerty@gmail.com">mchqwerty@gmail.com</a>><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 20 November 2014 at 02:18, Bryce Harrington <span dir="ltr"><<a href="mailto:bryce@osg.samsung.com" target="_blank">bryce@osg.samsung.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Mostly remove headers that aren't actually needed for anything.<br>
Add stdint.h to permit dropping xf86drm.h, which is otherwise unneeded.<br>
<br>
Signed-off-by: Bryce Harrington <<a href="mailto:bryce@osg.samsung.com">bryce@osg.samsung.com</a>><br>
---<br>
 tests/bad-buffer-test.c    | 3 ---<br>
 tests/buffer-count-test.c  | 7 ++-----<br>
 tests/button-test.c        | 1 +<br>
 tests/presentation-test.c  | 1 +<br>
 tests/setbacklight.c       | 2 +-<br>
 tests/subsurface-test.c    | 2 +-<br>
 tests/surface-test.c       | 1 -<br>
 tests/text-test.c          | 2 +-<br>
 tests/vertex-clip-test.c   | 3 ---<br>
 tests/weston-test-runner.c | 1 -<br>
 tests/weston-test.c        | 2 +-<br>
 tests/xwayland-test.c      | 1 -<br>
 12 files changed, 8 insertions(+), 18 deletions(-)<br>
<br>
diff --git a/tests/bad-buffer-test.c b/tests/bad-buffer-test.c<br>
index 3b54ac6..dc93b48 100644<br>
--- a/tests/bad-buffer-test.c<br>
+++ b/tests/bad-buffer-test.c<br>
@@ -24,9 +24,6 @@<br>
 #include "config.h"<br>
<br>
 #include <unistd.h><br>
-#include <sys/types.h><br>
-#include <stdio.h><br>
-#include <signal.h><br>
<br>
 #include "../shared/os-compatibility.h"<br>
 #include "weston-test-client-helper.h"<br>
diff --git a/tests/buffer-count-test.c b/tests/buffer-count-test.c<br>
index 8b1dd5d..5985a9e 100644<br>
--- a/tests/buffer-count-test.c<br>
+++ b/tests/buffer-count-test.c<br>
@@ -23,16 +23,13 @@<br>
 #include "config.h"<br>
<br>
 #include <string.h><br>
-<br>
-#include "weston-test-client-helper.h"<br>
 #include <stdio.h><br>
-#include <poll.h><br>
-#include <time.h><br>
-<br>
 #include <EGL/egl.h><br>
 #include <wayland-egl.h><br>
 #include <GLES2/gl2.h><br>
<br>
+#include "weston-test-client-helper.h"<br>
+<br>
 #define fail(msg) { fprintf(stderr, "%s failed\n", msg); return -1; }<br>
<br>
 struct test_data {<br>
diff --git a/tests/button-test.c b/tests/button-test.c<br>
index d5ad813..a784258 100644<br>
--- a/tests/button-test.c<br>
+++ b/tests/button-test.c<br>
@@ -23,6 +23,7 @@<br>
 #include "config.h"<br>
<br>
 #include <linux/input.h><br>
+<br>
 #include "weston-test-client-helper.h"<br>
<br>
 TEST(simple_button_test)<br>
diff --git a/tests/presentation-test.c b/tests/presentation-test.c<br>
index 4408082..b99e93d 100644<br>
--- a/tests/presentation-test.c<br>
+++ b/tests/presentation-test.c<br>
@@ -23,6 +23,7 @@<br>
 #include "config.h"<br>
<br>
 #include <stdio.h><br>
+#include <stdlib.h><br>
 #include <string.h><br>
 #include <assert.h><br>
 #include <time.h><br>
diff --git a/tests/setbacklight.c b/tests/setbacklight.c<br>
index c8eba43..5c79b90 100644<br>
--- a/tests/setbacklight.c<br>
+++ b/tests/setbacklight.c<br>
@@ -32,9 +32,9 @@<br>
<br>
 #include <stdio.h><br>
 #include <stdlib.h><br>
+#include <stdint.h><br>
 #include <unistd.h><br>
 #include <fcntl.h><br>
-#include <xf86drm.h><br>
 #include <xf86drmMode.h><br>
<br>
 #include "libbacklight.h"<br>
diff --git a/tests/subsurface-test.c b/tests/subsurface-test.c<br>
index bee249b..cf70017 100644<br>
--- a/tests/subsurface-test.c<br>
+++ b/tests/subsurface-test.c<br>
@@ -22,10 +22,10 @@<br>
<br>
 #include "config.h"<br>
<br>
+#include <stdio.h><br>
 #include <string.h><br>
<br>
 #include "weston-test-client-helper.h"<br>
-#include <stdio.h><br>
<br>
 #define NUM_SUBSURFACES 3<br>
<br>
diff --git a/tests/surface-test.c b/tests/surface-test.c<br>
index 1dddd4e..d466a44 100644<br>
--- a/tests/surface-test.c<br>
+++ b/tests/surface-test.c<br>
@@ -22,7 +22,6 @@<br>
<br>
 #include "config.h"<br>
<br>
-#include <stdlib.h><br>
 #include <stdio.h><br>
 #include <assert.h><br>
<br>
diff --git a/tests/text-test.c b/tests/text-test.c<br>
index c838a5d..0d20add 100644<br>
--- a/tests/text-test.c<br>
+++ b/tests/text-test.c<br>
@@ -24,7 +24,7 @@<br>
<br>
 #include <string.h><br>
 #include <stdio.h><br>
-#include <linux/input.h><br>
+<br>
 #include "weston-test-client-helper.h"<br>
 #include "text-client-protocol.h"<br>
<br>
diff --git a/tests/vertex-clip-test.c b/tests/vertex-clip-test.c<br>
index 1a09437..f706a04 100644<br>
--- a/tests/vertex-clip-test.c<br>
+++ b/tests/vertex-clip-test.c<br>
@@ -23,10 +23,7 @@<br>
 #include "config.h"<br>
<br>
 #include <assert.h><br>
-#include <stdio.h><br>
-#include <stdlib.h><br>
 #include <string.h><br>
-#include <math.h><br>
<br>
 #include "weston-test-runner.h"<br>
<br>
diff --git a/tests/weston-test-runner.c b/tests/weston-test-runner.c<br>
index ba6ce41..9b810eb 100644<br>
--- a/tests/weston-test-runner.c<br>
+++ b/tests/weston-test-runner.c<br>
@@ -25,7 +25,6 @@<br>
 #include <unistd.h><br>
 #include <stdio.h><br>
 #include <stdlib.h><br>
-#include <sys/types.h><br>
 #include <sys/wait.h><br>
 #include <string.h><br>
 #include <assert.h><br>
diff --git a/tests/weston-test.c b/tests/weston-test.c<br>
index f1e45c1..77eaa23 100644<br>
--- a/tests/weston-test.c<br>
+++ b/tests/weston-test.c<br>
@@ -23,10 +23,10 @@<br>
 #include "config.h"<br>
<br>
 #include <stdlib.h><br>
-#include <string.h><br>
 #include <assert.h><br>
 #include <signal.h><br>
 #include <unistd.h><br>
+<br>
 #include "../src/compositor.h"<br>
 #include "wayland-test-server-protocol.h"<br>
<br>
diff --git a/tests/xwayland-test.c b/tests/xwayland-test.c<br>
index e94e8f5..ec15a14 100644<br>
--- a/tests/xwayland-test.c<br>
+++ b/tests/xwayland-test.c<br>
@@ -28,7 +28,6 @@<br>
 #include "config.h"<br>
<br>
 #include <assert.h><br>
-#include <unistd.h><br>
 #include <stdlib.h><br>
 #include <stdio.h><br>
 #include <fcntl.h><br>
<span class="HOEnZb"><font color="#888888">--<br>
1.9.1<br>
<br>
_______________________________________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
</font></span></blockquote></div><br></div>