diff options
author | Daniel Stone <daniel@fooishbar.org> | 2005-07-03 07:02:09 +0000 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2005-07-03 07:02:09 +0000 |
commit | e03198972ca78b03ad13cb49112c03a052bb763b (patch) | |
tree | 1278f4b1a41b11511b0f5c2932191e44f0f9d8d3 /miext/shadow | |
parent | b8aef6c474ffc6d637bec178674898ea95ccde47 (diff) |
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings.
Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all
source files in the xserver/xorg tree, predicated on defines of
HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to
<X11/fonts/foo.h>.
Diffstat (limited to 'miext/shadow')
-rw-r--r-- | miext/shadow/shadow.c | 8 | ||||
-rw-r--r-- | miext/shadow/shadow.h | 4 | ||||
-rw-r--r-- | miext/shadow/shalloc.c | 8 | ||||
-rw-r--r-- | miext/shadow/shpacked.c | 8 | ||||
-rw-r--r-- | miext/shadow/shplanar.c | 8 | ||||
-rw-r--r-- | miext/shadow/shplanar8.c | 8 | ||||
-rw-r--r-- | miext/shadow/shrot16pack.c | 4 | ||||
-rw-r--r-- | miext/shadow/shrot16pack_180.c | 4 | ||||
-rw-r--r-- | miext/shadow/shrot16pack_270.c | 4 | ||||
-rw-r--r-- | miext/shadow/shrot16pack_90.c | 4 | ||||
-rw-r--r-- | miext/shadow/shrot32pack.c | 4 | ||||
-rw-r--r-- | miext/shadow/shrot32pack_180.c | 4 | ||||
-rw-r--r-- | miext/shadow/shrot32pack_270.c | 4 | ||||
-rw-r--r-- | miext/shadow/shrot32pack_90.c | 4 | ||||
-rw-r--r-- | miext/shadow/shrot8pack.c | 4 | ||||
-rw-r--r-- | miext/shadow/shrot8pack_180.c | 4 | ||||
-rw-r--r-- | miext/shadow/shrot8pack_270.c | 4 | ||||
-rw-r--r-- | miext/shadow/shrot8pack_90.c | 4 | ||||
-rw-r--r-- | miext/shadow/shrotate.c | 8 | ||||
-rw-r--r-- | miext/shadow/shrotpack.h | 8 |
20 files changed, 94 insertions, 14 deletions
diff --git a/miext/shadow/shadow.c b/miext/shadow/shadow.c index 2c2a26201..46ddfbb6c 100644 --- a/miext/shadow/shadow.c +++ b/miext/shadow/shadow.c @@ -23,12 +23,16 @@ */ +#ifdef HAVE_DIX_CONFIG_H +#include <dix-config.h> +#endif + #include <X11/X.h> #include "scrnintstr.h" #include "windowstr.h" -#include "font.h" +#include <X11/fonts/font.h> #include "dixfontstr.h" -#include "fontstruct.h" +#include <X11/fonts/fontstruct.h> #include "mi.h" #include "regionstr.h" #include "globals.h" diff --git a/miext/shadow/shadow.h b/miext/shadow/shadow.h index 85b2604f5..3d50b5a84 100644 --- a/miext/shadow/shadow.h +++ b/miext/shadow/shadow.h @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include <dix-config.h> +#endif + #ifndef _SHADOW_H_ #define _SHADOW_H_ diff --git a/miext/shadow/shalloc.c b/miext/shadow/shalloc.c index 0514b9a2e..5c01f2aac 100644 --- a/miext/shadow/shalloc.c +++ b/miext/shadow/shalloc.c @@ -23,12 +23,16 @@ */ +#ifdef HAVE_DIX_CONFIG_H +#include <dix-config.h> +#endif + #include <X11/X.h> #include "scrnintstr.h" #include "windowstr.h" -#include "font.h" +#include <X11/fonts/font.h> #include "dixfontstr.h" -#include "fontstruct.h" +#include <X11/fonts/fontstruct.h> #include "mi.h" #include "regionstr.h" #include "globals.h" diff --git a/miext/shadow/shpacked.c b/miext/shadow/shpacked.c index 5a19bcc4b..3fdee1473 100644 --- a/miext/shadow/shpacked.c +++ b/miext/shadow/shpacked.c @@ -22,12 +22,16 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include <dix-config.h> +#endif + #include <X11/X.h> #include "scrnintstr.h" #include "windowstr.h" -#include "font.h" +#include <X11/fonts/font.h> #include "dixfontstr.h" -#include "fontstruct.h" +#include <X11/fonts/fontstruct.h> #include "mi.h" #include "regionstr.h" #include "globals.h" diff --git a/miext/shadow/shplanar.c b/miext/shadow/shplanar.c index e9fc784b4..979905b86 100644 --- a/miext/shadow/shplanar.c +++ b/miext/shadow/shplanar.c @@ -22,12 +22,16 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include <dix-config.h> +#endif + #include <X11/X.h> #include "scrnintstr.h" #include "windowstr.h" -#include "font.h" +#include <X11/fonts/font.h> #include "dixfontstr.h" -#include "fontstruct.h" +#include <X11/fonts/fontstruct.h> #include "mi.h" #include "regionstr.h" #include "globals.h" diff --git a/miext/shadow/shplanar8.c b/miext/shadow/shplanar8.c index f2a2215ed..f1d87dc50 100644 --- a/miext/shadow/shplanar8.c +++ b/miext/shadow/shplanar8.c @@ -22,12 +22,16 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include <dix-config.h> +#endif + #include <X11/X.h> #include "scrnintstr.h" #include "windowstr.h" -#include "font.h" +#include <X11/fonts/font.h> #include "dixfontstr.h" -#include "fontstruct.h" +#include <X11/fonts/fontstruct.h> #include "mi.h" #include "regionstr.h" #include "globals.h" diff --git a/miext/shadow/shrot16pack.c b/miext/shadow/shrot16pack.c index 0928464f2..2ec41bb07 100644 --- a/miext/shadow/shrot16pack.c +++ b/miext/shadow/shrot16pack.c @@ -25,4 +25,8 @@ #define FUNC shadowUpdateRotate16 #define Data CARD16 +#ifdef HAVE_DIX_CONFIG_H +#include <dix-config.h> +#endif + #include "shrotpack.h" diff --git a/miext/shadow/shrot16pack_180.c b/miext/shadow/shrot16pack_180.c index d51511260..06b1603ba 100644 --- a/miext/shadow/shrot16pack_180.c +++ b/miext/shadow/shrot16pack_180.c @@ -26,4 +26,8 @@ #define Data CARD16 #define ROTATE 180 +#ifdef HAVE_DIX_CONFIG_H +#include <dix-config.h> +#endif + #include "shrotpack.h" diff --git a/miext/shadow/shrot16pack_270.c b/miext/shadow/shrot16pack_270.c index ea22717b0..1ad952ec6 100644 --- a/miext/shadow/shrot16pack_270.c +++ b/miext/shadow/shrot16pack_270.c @@ -26,4 +26,8 @@ #define Data CARD16 #define ROTATE 270 +#ifdef HAVE_DIX_CONFIG_H +#include <dix-config.h> +#endif + #include "shrotpack.h" diff --git a/miext/shadow/shrot16pack_90.c b/miext/shadow/shrot16pack_90.c index 71027d92a..cfef7785c 100644 --- a/miext/shadow/shrot16pack_90.c +++ b/miext/shadow/shrot16pack_90.c @@ -26,4 +26,8 @@ #define Data CARD16 #define ROTATE 90 +#ifdef HAVE_DIX_CONFIG_H +#include <dix-config.h> +#endif + #include "shrotpack.h" diff --git a/miext/shadow/shrot32pack.c b/miext/shadow/shrot32pack.c index 1415bab80..95c7c292c 100644 --- a/miext/shadow/shrot32pack.c +++ b/miext/shadow/shrot32pack.c @@ -25,4 +25,8 @@ #define FUNC shadowUpdateRotate32 #define Data CARD32 +#ifdef HAVE_DIX_CONFIG_H +#include <dix-config.h> +#endif + #include "shrotpack.h" diff --git a/miext/shadow/shrot32pack_180.c b/miext/shadow/shrot32pack_180.c index 003aeecd8..cbadba59d 100644 --- a/miext/shadow/shrot32pack_180.c +++ b/miext/shadow/shrot32pack_180.c @@ -26,4 +26,8 @@ #define Data CARD32 #define ROTATE 180 +#ifdef HAVE_DIX_CONFIG_H +#include <dix-config.h> +#endif + #include "shrotpack.h" diff --git a/miext/shadow/shrot32pack_270.c b/miext/shadow/shrot32pack_270.c index 4f1f0d31f..8f434b08e 100644 --- a/miext/shadow/shrot32pack_270.c +++ b/miext/shadow/shrot32pack_270.c @@ -26,4 +26,8 @@ #define Data CARD32 #define ROTATE 270 +#ifdef HAVE_DIX_CONFIG_H +#include <dix-config.h> +#endif + #include "shrotpack.h" diff --git a/miext/shadow/shrot32pack_90.c b/miext/shadow/shrot32pack_90.c index 7c3e781a8..98c22c37d 100644 --- a/miext/shadow/shrot32pack_90.c +++ b/miext/shadow/shrot32pack_90.c @@ -26,4 +26,8 @@ #define Data CARD32 #define ROTATE 90 +#ifdef HAVE_DIX_CONFIG_H +#include <dix-config.h> +#endif + #include "shrotpack.h" diff --git a/miext/shadow/shrot8pack.c b/miext/shadow/shrot8pack.c index c59bc2078..9e77f43e8 100644 --- a/miext/shadow/shrot8pack.c +++ b/miext/shadow/shrot8pack.c @@ -25,4 +25,8 @@ #define FUNC shadowUpdateRotate8 #define Data CARD8 +#ifdef HAVE_DIX_CONFIG_H +#include <dix-config.h> +#endif + #include "shrotpack.h" diff --git a/miext/shadow/shrot8pack_180.c b/miext/shadow/shrot8pack_180.c index 095843f13..6f4eca93e 100644 --- a/miext/shadow/shrot8pack_180.c +++ b/miext/shadow/shrot8pack_180.c @@ -26,4 +26,8 @@ #define Data CARD8 #define ROTATE 180 +#ifdef HAVE_DIX_CONFIG_H +#include <dix-config.h> +#endif + #include "shrotpack.h" diff --git a/miext/shadow/shrot8pack_270.c b/miext/shadow/shrot8pack_270.c index f558538ff..d56a3366c 100644 --- a/miext/shadow/shrot8pack_270.c +++ b/miext/shadow/shrot8pack_270.c @@ -26,4 +26,8 @@ #define Data CARD8 #define ROTATE 270 +#ifdef HAVE_DIX_CONFIG_H +#include <dix-config.h> +#endif + #include "shrotpack.h" diff --git a/miext/shadow/shrot8pack_90.c b/miext/shadow/shrot8pack_90.c index 108552f42..2fed8126d 100644 --- a/miext/shadow/shrot8pack_90.c +++ b/miext/shadow/shrot8pack_90.c @@ -26,4 +26,8 @@ #define Data CARD8 #define ROTATE 90 +#ifdef HAVE_DIX_CONFIG_H +#include <dix-config.h> +#endif + #include "shrotpack.h" diff --git a/miext/shadow/shrotate.c b/miext/shadow/shrotate.c index f870ef05c..927bc61be 100644 --- a/miext/shadow/shrotate.c +++ b/miext/shadow/shrotate.c @@ -22,12 +22,16 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include <dix-config.h> +#endif + #include <X11/X.h> #include "scrnintstr.h" #include "windowstr.h" -#include "font.h" +#include <X11/fonts/font.h> #include "dixfontstr.h" -#include "fontstruct.h" +#include <X11/fonts/fontstruct.h> #include "mi.h" #include "regionstr.h" #include "globals.h" diff --git a/miext/shadow/shrotpack.h b/miext/shadow/shrotpack.h index a3ef338ee..062d8c394 100644 --- a/miext/shadow/shrotpack.h +++ b/miext/shadow/shrotpack.h @@ -27,12 +27,16 @@ * orientations work. */ +#ifdef HAVE_DIX_CONFIG_H +#include <dix-config.h> +#endif + #include <X11/X.h> #include "scrnintstr.h" #include "windowstr.h" -#include "font.h" +#include <X11/fonts/font.h> #include "dixfontstr.h" -#include "fontstruct.h" +#include <X11/fonts/fontstruct.h> #include "mi.h" #include "regionstr.h" #include "globals.h" |