From 30e01032161db141524a4ff8cb88ab21a987dd9e Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Fri, 27 Mar 2009 19:25:14 -0700 Subject: [PATCH] libxkbcomp: Remove usage of client-side headers This will surely break things. Let's see just what we need to replace. --- src/xkbcomp/alias.c | 2 +- src/xkbcomp/geometry.c | 2 +- src/xkbcomp/listing.c | 2 +- src/xkbcomp/misc.c | 2 +- src/xkbcomp/parseutils.c | 2 +- src/xkbcomp/vmod.c | 2 +- src/xkbcomp/xkbcomp.h | 4 ---- src/xkbcomp/xkbparse.c | 2 +- src/xkbcomp/xkbparse.y | 2 +- src/xkbcomp/xkbpath.c | 3 --- src/xkbcomp/xkbscan.c | 2 -- 11 files changed, 8 insertions(+), 17 deletions(-) diff --git a/src/xkbcomp/alias.c b/src/xkbcomp/alias.c index ba55d3d..aadf535 100644 --- a/src/xkbcomp/alias.c +++ b/src/xkbcomp/alias.c @@ -29,7 +29,7 @@ #include "alias.h" #include "keycodes.h" -#include +#include static void HandleCollision(AliasInfo * old, AliasInfo * new) diff --git a/src/xkbcomp/geometry.c b/src/xkbcomp/geometry.c index 6eb3fb8..64d73fe 100644 --- a/src/xkbcomp/geometry.c +++ b/src/xkbcomp/geometry.c @@ -34,7 +34,7 @@ #include "keycodes.h" #include "alias.h" -#include "X11/extensions/XKBgeom.h" +#include #define DFLT_FONT "helvetica" #define DFLT_SLANT "r" diff --git a/src/xkbcomp/listing.c b/src/xkbcomp/listing.c index 146ecba..6d3fb8f 100644 --- a/src/xkbcomp/listing.c +++ b/src/xkbcomp/listing.c @@ -121,7 +121,7 @@ SOFTWARE. #include "parseutils.h" #include "misc.h" #include "tokens.h" -#include +#include #define lowbit(x) ((x) & (-(x))) diff --git a/src/xkbcomp/misc.c b/src/xkbcomp/misc.c index 1607ff5..993c62f 100644 --- a/src/xkbcomp/misc.c +++ b/src/xkbcomp/misc.c @@ -32,7 +32,7 @@ #include #include "parseutils.h" -#include +#include /***====================================================================***/ diff --git a/src/xkbcomp/parseutils.c b/src/xkbcomp/parseutils.c index ad1b0d1..5ab435e 100644 --- a/src/xkbcomp/parseutils.c +++ b/src/xkbcomp/parseutils.c @@ -28,7 +28,7 @@ #include "parseutils.h" #include "xkbpath.h" #include -#include +#include #include XkbFile *rtrnValue; diff --git a/src/xkbcomp/vmod.c b/src/xkbcomp/vmod.c index 5578fd0..c912a84 100644 --- a/src/xkbcomp/vmod.c +++ b/src/xkbcomp/vmod.c @@ -32,7 +32,7 @@ #include "misc.h" #include -#include +#include #include "vmod.h" diff --git a/src/xkbcomp/xkbcomp.h b/src/xkbcomp/xkbcomp.h index 6e02ed5..c6fce0b 100644 --- a/src/xkbcomp/xkbcomp.h +++ b/src/xkbcomp/xkbcomp.h @@ -31,13 +31,9 @@ #define DEBUG_VAR debugFlags #endif -#include -#include - #include "utils.h" #include -#include extern char *scanFile; diff --git a/src/xkbcomp/xkbparse.c b/src/xkbcomp/xkbparse.c index b71df99..db4dfc5 100644 --- a/src/xkbcomp/xkbparse.c +++ b/src/xkbcomp/xkbparse.c @@ -208,7 +208,7 @@ #define DEBUG_VAR parseDebug #include "parseutils.h" #include -#include +#include #include unsigned int parseDebug; diff --git a/src/xkbcomp/xkbparse.y b/src/xkbcomp/xkbparse.y index 63f87bb..2360f24 100644 --- a/src/xkbcomp/xkbparse.y +++ b/src/xkbcomp/xkbparse.y @@ -95,7 +95,7 @@ #define DEBUG_VAR parseDebug #include "parseutils.h" #include -#include +#include #include unsigned int parseDebug; diff --git a/src/xkbcomp/xkbpath.c b/src/xkbcomp/xkbpath.c index 6802012..0566b08 100644 --- a/src/xkbcomp/xkbpath.c +++ b/src/xkbcomp/xkbpath.c @@ -24,9 +24,6 @@ ********************************************************/ -#include -#include - #define DEBUG_VAR debugFlags #include "utils.h" #include diff --git a/src/xkbcomp/xkbscan.c b/src/xkbcomp/xkbscan.c index 31cafd4..997b5f5 100644 --- a/src/xkbcomp/xkbscan.c +++ b/src/xkbcomp/xkbscan.c @@ -27,8 +27,6 @@ #include #include #include -#include -#include #include "tokens.h" #define DEBUG_VAR scanDebug