diff --git a/glx/clientinfo.c b/glx/clientinfo.c index 3dcabf844..778ca31dd 100644 --- a/glx/clientinfo.c +++ b/glx/clientinfo.c @@ -22,9 +22,9 @@ */ #include +#include "misc.h" #include "glxserver.h" #include "indirect_dispatch.h" -#include "glxbyteorder.h" #include "unpack.h" static int diff --git a/glx/glxbyteorder.h b/glx/glxbyteorder.h deleted file mode 100644 index 8f0cd8a4b..000000000 --- a/glx/glxbyteorder.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * (C) Copyright IBM Corporation 2006, 2007 - * All Rights Reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sub license, - * and/or sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice (including the next - * paragraph) shall be included in all copies or substantial portions of the - * Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL - * THE COPYRIGHT HOLDERS, THE AUTHORS, AND/OR THEIR SUPPLIERS BE LIABLE FOR - * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, - * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE - * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ - -/** - * \file glxbyteorder.h - * Platform glue for handling byte-ordering issues in GLX protocol. - * - * \author Ian Romanick - */ -#if !defined(__GLXBYTEORDER_H__) -#define __GLXBYTEORDER_H__ - -#ifdef HAVE_DIX_CONFIG_H -#include -#endif - -#include "misc.h" - -#endif /* !defined(__GLXBYTEORDER_H__) */ diff --git a/glx/indirect_dispatch.c b/glx/indirect_dispatch.c index 24784e693..40a3ccc64 100644 --- a/glx/indirect_dispatch.c +++ b/glx/indirect_dispatch.c @@ -24,14 +24,16 @@ * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ +#include #include + #include "glxserver.h" #include "indirect_size.h" #include "indirect_size_get.h" #include "indirect_dispatch.h" -#include "glxbyteorder.h" #include "indirect_util.h" +#include "misc.h" #include "singlesize.h" #define __GLX_PAD(x) (((x) + 3) & ~3) diff --git a/glx/indirect_dispatch_swap.c b/glx/indirect_dispatch_swap.c index 3eeed00f3..0ff8e10fd 100644 --- a/glx/indirect_dispatch_swap.c +++ b/glx/indirect_dispatch_swap.c @@ -24,14 +24,16 @@ * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ +#include #include + #include "glxserver.h" #include "indirect_size.h" #include "indirect_size_get.h" #include "indirect_dispatch.h" -#include "glxbyteorder.h" #include "indirect_util.h" +#include "misc.h" #include "singlesize.h" #define __GLX_PAD(x) (((x) + 3) & ~3) diff --git a/glx/indirect_program.c b/glx/indirect_program.c index c0c7ae898..1f10c41a7 100644 --- a/glx/indirect_program.c +++ b/glx/indirect_program.c @@ -28,12 +28,11 @@ * * \author Ian Romanick */ - #include #include "glxserver.h" -#include "glxbyteorder.h" #include "glxext.h" +#include "misc.h" #include "singlesize.h" #include "unpack.h" #include "indirect_size_get.h" diff --git a/glx/indirect_reqsize.c b/glx/indirect_reqsize.c index 020aae2fe..18dcfee2a 100644 --- a/glx/indirect_reqsize.c +++ b/glx/indirect_reqsize.c @@ -24,12 +24,14 @@ * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ +#include #include + #include "glxserver.h" -#include "glxbyteorder.h" #include "indirect_size.h" #include "indirect_reqsize.h" +#include "misc.h" #if defined(__CYGWIN__) || defined(__MINGW32__) #undef HAVE_ALIAS diff --git a/glx/indirect_texture_compression.c b/glx/indirect_texture_compression.c index c82bc1cb7..d45b0a910 100644 --- a/glx/indirect_texture_compression.c +++ b/glx/indirect_texture_compression.c @@ -22,12 +22,11 @@ * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ - #include #include "glxserver.h" -#include "glxbyteorder.h" #include "glxext.h" +#include "misc.h" #include "singlesize.h" #include "unpack.h" #include "indirect_size_get.h" diff --git a/glx/indirect_util.c b/glx/indirect_util.c index d91ec5d61..50b8e3f1c 100644 --- a/glx/indirect_util.c +++ b/glx/indirect_util.c @@ -22,24 +22,23 @@ * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ - #include +#include #include - -#include +#include // needs to be before glxproto.h #include #include -#include + #include "indirect_size.h" #include "indirect_size_get.h" #include "indirect_dispatch.h" #include "glxserver.h" -#include "glxbyteorder.h" #include "singlesize.h" #include "glxext.h" #include "indirect_table.h" #include "indirect_util.h" +#include "misc.h" #define __GLX_PAD(a) (((a)+3)&~3) diff --git a/glx/swap_interval.c b/glx/swap_interval.c index 2f1b02cf7..0af258e09 100644 --- a/glx/swap_interval.c +++ b/glx/swap_interval.c @@ -27,11 +27,11 @@ #include "glxserver.h" #include "glxutil.h" #include "glxext.h" +#include "misc.h" #include "singlesize.h" #include "unpack.h" #include "indirect_size_get.h" #include "indirect_dispatch.h" -#include "glxbyteorder.h" static int DoSwapInterval(__GLXclientState * cl, GLbyte * pc, int do_swap);