From d7ead7a591da851f6bb2efecdd35b63836df4ed0 Mon Sep 17 00:00:00 2001 From: Magnus Kessler Date: Wed, 22 Jul 2009 09:37:38 +0100 Subject: Rename xtest.h to xtestconst.h to avoid a collision with XTest.h on case-insensitive filesystems Signed-off-by: Peter Hutterer --- Makefile.am | 2 +- xtest.h | 41 ----------------------------------------- xtestconst.h | 41 +++++++++++++++++++++++++++++++++++++++++ xtestproto.h | 2 +- 4 files changed, 43 insertions(+), 43 deletions(-) delete mode 100644 xtest.h create mode 100644 xtestconst.h diff --git a/Makefile.am b/Makefile.am index 6ba1b08..8cdd0ac 100644 --- a/Makefile.am +++ b/Makefile.am @@ -28,7 +28,7 @@ xext_HEADERS = \ EVIproto.h \ xtestext1proto.h \ xtestext1const.h \ - xtest.h \ + xtestconst.h \ xtestproto.h pkgconfigdir = $(libdir)/pkgconfig diff --git a/xtest.h b/xtest.h deleted file mode 100644 index e74b904..0000000 --- a/xtest.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - -Copyright 1992, 1998 The Open Group - -Permission to use, copy, modify, distribute, and sell this software and its -documentation for any purpose is hereby granted without fee, provided that -the above copyright notice appear in all copies and that both that -copyright notice and this permission notice appear in supporting -documentation. - -The above copyright notice and this permission notice 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 NONINFRINGEMENT. IN NO EVENT SHALL THE -OPEN GROUP 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. - -Except as contained in this notice, the name of The Open Group shall not be -used in advertising or otherwise to promote the sale, use or other dealings -in this Software without prior written authorization from The Open Group. - -*/ - -#ifndef _XTEST_CONST_H_ -#define _XTEST_CONST_H_ - -#define XTestNumberEvents 0 - -#define XTestNumberErrors 0 - -#define XTestCurrentCursor ((Cursor)1) - -#define XTestMajorVersion 2 -#define XTestMinorVersion 2 - -#define XTestExtensionName "XTEST" - -#endif diff --git a/xtestconst.h b/xtestconst.h new file mode 100644 index 0000000..e74b904 --- /dev/null +++ b/xtestconst.h @@ -0,0 +1,41 @@ +/* + +Copyright 1992, 1998 The Open Group + +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation. + +The above copyright notice and this permission notice 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 NONINFRINGEMENT. IN NO EVENT SHALL THE +OPEN GROUP 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. + +Except as contained in this notice, the name of The Open Group shall not be +used in advertising or otherwise to promote the sale, use or other dealings +in this Software without prior written authorization from The Open Group. + +*/ + +#ifndef _XTEST_CONST_H_ +#define _XTEST_CONST_H_ + +#define XTestNumberEvents 0 + +#define XTestNumberErrors 0 + +#define XTestCurrentCursor ((Cursor)1) + +#define XTestMajorVersion 2 +#define XTestMinorVersion 2 + +#define XTestExtensionName "XTEST" + +#endif diff --git a/xtestproto.h b/xtestproto.h index 2eb832e..4f8db26 100644 --- a/xtestproto.h +++ b/xtestproto.h @@ -27,7 +27,7 @@ in this Software without prior written authorization from The Open Group. #ifndef _XTESTPROTO_H_ #define _XTESTPROTO_H_ -#include +#include #define Window CARD32 #define Time CARD32 -- cgit v1.2.1