Mostly remove headers that aren't actually needed for anything.
Add stdint.h to permit dropping xf86drm.h, which is otherwise unneeded.
Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
Acked-by: Marek Chalupa <mchqwerty@gmail.com>
Tested-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
12 files changed:
#include "config.h"
#include <unistd.h>
-#include <sys/types.h>
-#include <stdio.h>
-#include <signal.h>
#include "../shared/os-compatibility.h"
#include "weston-test-client-helper.h"
#include "config.h"
#include <string.h>
-
-#include "weston-test-client-helper.h"
#include <stdio.h>
-#include <poll.h>
-#include <time.h>
-
#include <EGL/egl.h>
#include <wayland-egl.h>
#include <GLES2/gl2.h>
+#include "weston-test-client-helper.h"
+
#define fail(msg) { fprintf(stderr, "%s failed\n", msg); return -1; }
struct test_data {
#include "config.h"
#include <linux/input.h>
+
#include "weston-test-client-helper.h"
TEST(simple_button_test)
#include "config.h"
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
+#include <stdint.h>
#include <unistd.h>
#include <fcntl.h>
-#include <xf86drm.h>
#include <xf86drmMode.h>
#include "libbacklight.h"
#include "config.h"
+#include <stdio.h>
#include <string.h>
#include "weston-test-client-helper.h"
-#include <stdio.h>
#define NUM_SUBSURFACES 3
#include "config.h"
-#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include <string.h>
#include <stdio.h>
-#include <linux/input.h>
+
#include "weston-test-client-helper.h"
#include "text-client-protocol.h"
#include "config.h"
#include <assert.h>
-#include <stdio.h>
-#include <stdlib.h>
#include <string.h>
-#include <math.h>
#include "weston-test-runner.h"
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
-#include <sys/types.h>
#include <sys/wait.h>
#include <string.h>
#include <assert.h>
#include "config.h"
#include <stdlib.h>
-#include <string.h>
#include <assert.h>
#include <signal.h>
#include <unistd.h>
+
#include "../src/compositor.h"
#include "wayland-test-server-protocol.h"
#include "config.h"
#include <assert.h>
-#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>