mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
drop obsolete HAVE_DIX_CONFIG_H
The symbol controls whether to include dix-config.h, and it's always set, thus we don't need it (and dozens of ifdef's) anymore. This commit only removes them from our own source files, where we can guarantee that dix-config.h is present - leaving the (potentially exported) headers untouched. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Povilas Kanapickas
parent
4cac1ee46d
commit
a917f6a8a8
@@ -24,9 +24,7 @@
|
||||
/* Test relies on assert() */
|
||||
#undef NDEBUG
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#include <misc.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -24,9 +24,7 @@
|
||||
/* Test relies on assert() */
|
||||
#undef NDEBUG
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
#include <X11/X.h>
|
||||
|
||||
@@ -24,9 +24,7 @@
|
||||
/* Test relies on assert() */
|
||||
#undef NDEBUG
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <list.h>
|
||||
|
||||
@@ -24,9 +24,7 @@
|
||||
/* Test relies on assert() */
|
||||
#undef NDEBUG
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
@@ -24,9 +24,7 @@
|
||||
/* Test relies on assert() */
|
||||
#undef NDEBUG
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -21,9 +21,7 @@
|
||||
* IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#include <X11/Xfuncproto.h>
|
||||
|
||||
|
||||
@@ -29,9 +29,7 @@
|
||||
/* Test relies on assert() */
|
||||
#undef NDEBUG
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
#include "os.h"
|
||||
|
||||
@@ -24,9 +24,7 @@
|
||||
/* Test relies on assert() */
|
||||
#undef NDEBUG
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#include <xkb-config.h>
|
||||
|
||||
|
||||
@@ -24,9 +24,7 @@
|
||||
/* Test relies on assert() */
|
||||
#undef NDEBUG
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
@@ -24,9 +24,7 @@
|
||||
/* Test relies on assert() */
|
||||
#undef NDEBUG
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
|
||||
@@ -24,9 +24,7 @@
|
||||
/* Test relies on assert() */
|
||||
#undef NDEBUG
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Protocol testing for ChangeDeviceControl request.
|
||||
|
||||
@@ -24,9 +24,7 @@
|
||||
/* Test relies on assert() */
|
||||
#undef NDEBUG
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -23,9 +23,7 @@
|
||||
/* Test relies on assert() */
|
||||
#undef NDEBUG
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
#include <X11/extensions/XI2proto.h>
|
||||
|
||||
@@ -24,9 +24,7 @@
|
||||
/* Test relies on assert() */
|
||||
#undef NDEBUG
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Protocol testing for XIGetClientPointer request.
|
||||
|
||||
@@ -24,9 +24,7 @@
|
||||
/* Test relies on assert() */
|
||||
#undef NDEBUG
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Protocol testing for XIGetSelectedEvents request.
|
||||
|
||||
@@ -24,9 +24,7 @@
|
||||
/* Test relies on assert() */
|
||||
#undef NDEBUG
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Protocol testing for XIPassiveGrab request.
|
||||
|
||||
@@ -24,9 +24,7 @@
|
||||
/* Test relies on assert() */
|
||||
#undef NDEBUG
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
#include <X11/X.h>
|
||||
|
||||
@@ -24,9 +24,7 @@
|
||||
/* Test relies on assert() */
|
||||
#undef NDEBUG
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Protocol testing for XIQueryPointer request.
|
||||
|
||||
@@ -24,9 +24,7 @@
|
||||
/* Test relies on assert() */
|
||||
#undef NDEBUG
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Protocol testing for XIQueryVersion request and reply.
|
||||
|
||||
@@ -24,9 +24,7 @@
|
||||
/* Test relies on assert() */
|
||||
#undef NDEBUG
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Protocol testing for XISelectEvents request.
|
||||
|
||||
@@ -24,9 +24,7 @@
|
||||
/* Test relies on assert() */
|
||||
#undef NDEBUG
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Protocol testing for XISetClientPointer request.
|
||||
|
||||
@@ -24,9 +24,7 @@
|
||||
/* Test relies on assert() */
|
||||
#undef NDEBUG
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Protocol testing for XIWarpPointer request.
|
||||
|
||||
@@ -24,9 +24,7 @@
|
||||
/* Test relies on assert() */
|
||||
#undef NDEBUG
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
#include "inpututils.h"
|
||||
|
||||
@@ -24,9 +24,7 @@
|
||||
/* Test relies on assert() */
|
||||
#undef NDEBUG
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
#include <X11/Xatom.h>
|
||||
|
||||
Reference in New Issue
Block a user