[PATCH 2/7] xorg: Remove unused definitions from xorg-server.h.in

Thierry Reding thierry.reding at gmail.com
Wed Mar 28 12:04:33 UTC 2018


From: Thierry Reding <treding at nvidia.com>

There is no code around that will ever define values for the XLOADABLE,
WORKING_UNALIGNED_INT or XORG_RELEASE symbols, so they will always end
up commented out and are therefore completely useless.

Signed-off-by: Thierry Reding <treding at nvidia.com>
---
 include/xorg-server.h.in | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/include/xorg-server.h.in b/include/xorg-server.h.in
index aae2faed6a5c..e2a0ba0d079b 100644
--- a/include/xorg-server.h.in
+++ b/include/xorg-server.h.in
@@ -101,9 +101,6 @@
 /* Support UNIX socket connections */
 #undef UNIXCONN
 
-/* unaligned word accesses behave as expected */
-#undef WORKING_UNALIGNED_INT
-
 /* Support XCMisc extension */
 #undef XCMISC
 
@@ -128,9 +125,6 @@
 /* XKB default rules */
 #undef XKB_DFLT_RULES
 
-/* Support loadable input and output drivers */
-#undef XLOADABLE
-
 /* Build DRI extension */
 #undef XF86DRI
 
@@ -140,9 +134,6 @@
 /* Build Xorg server */
 #undef XORGSERVER
 
-/* Vendor release */
-#undef XORG_RELEASE
-
 /* Current Xorg version */
 #undef XORG_VERSION_CURRENT
 
-- 
2.16.3



More information about the xorg-devel mailing list