summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Fontaine <arnau@debian.org>2011-12-14 20:26:17 +0900
committerArnaud Fontaine <arnau@debian.org>2011-12-14 20:26:17 +0900
commitad4179a465586d0f3d70adc2f0d2ca78a1dad84c (patch)
tree8724178c9e0fa78510870e8fbdd21c1c35c32f5b
parentd371dac4aeffa1ff782d5dd44479b42c3fe3a282 (diff)
Get rid of useless includes.
-rw-r--r--dsimple.c3
-rw-r--r--dsimple.h2
-rw-r--r--transSet.c1
3 files changed, 1 insertions, 5 deletions
diff --git a/dsimple.c b/dsimple.c
index 331f1bc..d774bd3 100644
--- a/dsimple.c
+++ b/dsimple.c
@@ -28,13 +28,12 @@
*/
/* $XFree86: xc/programs/xlsfonts/dsimple.c,v 3.6 2001/12/14 20:02:09 dawes Exp $ */
-#include <X11/Xos.h>
#include <X11/Xlib.h>
#include <X11/cursorfont.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
-
+#include <string.h>
#include <regex.h>
/*
* Other_stuff.h: Definitions of routines in other_stuff.
diff --git a/dsimple.h b/dsimple.h
index a82d3cb..2b82205 100644
--- a/dsimple.h
+++ b/dsimple.h
@@ -39,8 +39,6 @@ from The Open Group.
* Send bugs, etc. to chariot@athena.mit.edu.
*/
-#include <regex.h>
-
extern char *program_name; /* Name of this program */
extern Display *dpy; /* The current display */
extern int screen; /* The current screen */
diff --git a/transSet.c b/transSet.c
index 7ded4eb..916f565 100644
--- a/transSet.c
+++ b/transSet.c
@@ -22,7 +22,6 @@
#include <getopt.h>
#include <string.h>
#include <sys/types.h>
-#include <regex.h>
Window target_win;