[PATCH] Drop extraneous duplicate header includes

Bryce Harrington bryce at bryceharrington.org
Mon Aug 5 17:37:20 PDT 2013


From: Bryce Harrington <b.harrington at samsung.com>

Signed-off-by: Bryce Harrington <b.harrington at samsung.com>
---
 clients/flower.c       |    1 -
 clients/smoke.c        |    1 -
 src/compositor-drm.c   |    1 -
 src/compositor-fbdev.c |    2 --
 4 files changed, 5 deletions(-)

diff --git a/clients/flower.c b/clients/flower.c
index 87a1a00..b31d513 100644
--- a/clients/flower.c
+++ b/clients/flower.c
@@ -26,7 +26,6 @@
 #include <string.h>
 #include <time.h>
 #include <math.h>
-#include <time.h>
 #include <cairo.h>
 #include <sys/time.h>
 
diff --git a/clients/smoke.c b/clients/smoke.c
index 5d7333d..0177424 100644
--- a/clients/smoke.c
+++ b/clients/smoke.c
@@ -26,7 +26,6 @@
 #include <string.h>
 #include <time.h>
 #include <math.h>
-#include <time.h>
 #include <cairo.h>
 
 #include <wayland-client.h>
diff --git a/src/compositor-drm.c b/src/compositor-drm.c
index c7d6c04..a47fe36 100644
--- a/src/compositor-drm.c
+++ b/src/compositor-drm.c
@@ -25,7 +25,6 @@
 
 #include <errno.h>
 #include <stdlib.h>
-#include <stdlib.h>
 #include <ctype.h>
 #include <string.h>
 #include <fcntl.h>
diff --git a/src/compositor-fbdev.c b/src/compositor-fbdev.c
index 10ba7db..73ce37b 100644
--- a/src/compositor-fbdev.c
+++ b/src/compositor-fbdev.c
@@ -39,8 +39,6 @@
 
 #include <libudev.h>
 
-#include "config.h"
-
 #include "compositor.h"
 #include "launcher-util.h"
 #include "pixman-renderer.h"
-- 
1.7.9.5



More information about the wayland-devel mailing list