summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2012-05-11 16:39:47 -0400
committerKristian Høgsberg <krh@bitplanet.net>2012-05-11 16:40:22 -0400
commit4c3dac9c66a2ee1ebbe0ed7bad07ac4283b0c7e2 (patch)
tree9081cb19da80e7283100771efac764639fa357c8
parentbef52d1423a93f96d157dd94cbda8a00594d3f3a (diff)
clients: Remove superfluous #includes
In particular window.c and many clients were including glib.h without using it and without the right cflags.
-rw-r--r--clients/eventdemo.c1
-rw-r--r--clients/flower.c3
-rw-r--r--clients/gears.c3
-rw-r--r--clients/smoke.c3
-rw-r--r--clients/terminal.c1
-rw-r--r--clients/window.c1
6 files changed, 0 insertions, 12 deletions
diff --git a/clients/eventdemo.c b/clients/eventdemo.c
index 345a8ee..8e63540 100644
--- a/clients/eventdemo.c
+++ b/clients/eventdemo.c
@@ -34,7 +34,6 @@
#include <stdlib.h>
#include <cairo.h>
-#include <glib.h>
#include "window.h"
diff --git a/clients/flower.c b/clients/flower.c
index 8bf4f3e..2d54b38 100644
--- a/clients/flower.c
+++ b/clients/flower.c
@@ -25,13 +25,10 @@
#include <stdlib.h>
#include <string.h>
#include <time.h>
-#include <fcntl.h>
-#include <unistd.h>
#include <math.h>
#include <time.h>
#include <cairo.h>
#include <sys/time.h>
-#include <glib.h>
#include <linux/input.h>
#include <wayland-client.h>
diff --git a/clients/gears.c b/clients/gears.c
index cc4d39a..ce8212a 100644
--- a/clients/gears.c
+++ b/clients/gears.c
@@ -26,11 +26,8 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <fcntl.h>
-#include <unistd.h>
#include <math.h>
#include <time.h>
-#include <glib.h>
#include <GL/gl.h>
#include <EGL/egl.h>
diff --git a/clients/smoke.c b/clients/smoke.c
index 0e29b06..d730124 100644
--- a/clients/smoke.c
+++ b/clients/smoke.c
@@ -25,12 +25,9 @@
#include <stdlib.h>
#include <string.h>
#include <time.h>
-#include <fcntl.h>
-#include <unistd.h>
#include <math.h>
#include <time.h>
#include <cairo.h>
-#include <glib.h>
#include <wayland-client.h>
#include "window.h"
diff --git a/clients/terminal.c b/clients/terminal.c
index d59442c..c7300e6 100644
--- a/clients/terminal.c
+++ b/clients/terminal.c
@@ -31,7 +31,6 @@
#include <pty.h>
#include <ctype.h>
#include <cairo.h>
-#include <glib.h>
#include <sys/epoll.h>
#include <wayland-client.h>
diff --git a/clients/window.c b/clients/window.c
index 599cb67..e14edb0 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -34,7 +34,6 @@
#include <assert.h>
#include <time.h>
#include <cairo.h>
-#include <glib.h>
#include <sys/mman.h>
#include <sys/epoll.h>