From 313334ec2825853228d701de9d3d3d916442e142 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 15 Feb 2024 17:16:56 +0100 Subject: [PATCH] Xnest: drop obsolete ifdef HAVE_XNEST_CONFIG_H These files are always compiled w/ HAVE_XNEST_CONFIG_H and always need to include this file, so the ifdef can be dropped. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xnest/Args.c | 2 -- hw/xnest/Color.c | 2 -- hw/xnest/Cursor.c | 2 -- hw/xnest/Display.c | 2 -- hw/xnest/Events.c | 2 -- hw/xnest/Font.c | 2 -- hw/xnest/GC.c | 2 -- hw/xnest/GCOps.c | 2 -- hw/xnest/Handlers.c | 2 -- hw/xnest/Init.c | 2 -- hw/xnest/Keyboard.c | 2 -- hw/xnest/Pixmap.c | 2 -- hw/xnest/Pointer.c | 2 -- hw/xnest/Screen.c | 2 -- hw/xnest/Visual.c | 2 -- hw/xnest/Window.c | 2 -- 16 files changed, 32 deletions(-) diff --git a/hw/xnest/Args.c b/hw/xnest/Args.c index ebf728c9c..cb0cded86 100644 --- a/hw/xnest/Args.c +++ b/hw/xnest/Args.c @@ -12,9 +12,7 @@ is" without express or implied warranty. */ -#ifdef HAVE_XNEST_CONFIG_H #include -#endif #include #include diff --git a/hw/xnest/Color.c b/hw/xnest/Color.c index 37c960141..dea33f57d 100644 --- a/hw/xnest/Color.c +++ b/hw/xnest/Color.c @@ -12,9 +12,7 @@ is" without express or implied warranty. */ -#ifdef HAVE_XNEST_CONFIG_H #include -#endif #include #include diff --git a/hw/xnest/Cursor.c b/hw/xnest/Cursor.c index 9ff143a4f..ea7d94912 100644 --- a/hw/xnest/Cursor.c +++ b/hw/xnest/Cursor.c @@ -12,9 +12,7 @@ is" without express or implied warranty. */ -#ifdef HAVE_XNEST_CONFIG_H #include -#endif #include #include diff --git a/hw/xnest/Display.c b/hw/xnest/Display.c index daf1cf068..e9e98fcb4 100644 --- a/hw/xnest/Display.c +++ b/hw/xnest/Display.c @@ -12,9 +12,7 @@ is" without express or implied warranty. */ -#ifdef HAVE_XNEST_CONFIG_H #include -#endif #include #include diff --git a/hw/xnest/Events.c b/hw/xnest/Events.c index da4ad98a0..09ac2b955 100644 --- a/hw/xnest/Events.c +++ b/hw/xnest/Events.c @@ -12,9 +12,7 @@ is" without express or implied warranty. */ -#ifdef HAVE_XNEST_CONFIG_H #include -#endif #include #include diff --git a/hw/xnest/Font.c b/hw/xnest/Font.c index dd9e38619..060f29a91 100644 --- a/hw/xnest/Font.c +++ b/hw/xnest/Font.c @@ -12,9 +12,7 @@ is" without express or implied warranty. */ -#ifdef HAVE_XNEST_CONFIG_H #include -#endif #include #include diff --git a/hw/xnest/GC.c b/hw/xnest/GC.c index 054adb9ec..f8d99d6a2 100644 --- a/hw/xnest/GC.c +++ b/hw/xnest/GC.c @@ -12,9 +12,7 @@ is" without express or implied warranty. */ -#ifdef HAVE_XNEST_CONFIG_H #include -#endif #include #include diff --git a/hw/xnest/GCOps.c b/hw/xnest/GCOps.c index 47c5f9010..772076bb3 100644 --- a/hw/xnest/GCOps.c +++ b/hw/xnest/GCOps.c @@ -12,9 +12,7 @@ is" without express or implied warranty. */ -#ifdef HAVE_XNEST_CONFIG_H #include -#endif #include #include diff --git a/hw/xnest/Handlers.c b/hw/xnest/Handlers.c index 27ea30a83..a06f3f90d 100644 --- a/hw/xnest/Handlers.c +++ b/hw/xnest/Handlers.c @@ -12,9 +12,7 @@ is" without express or implied warranty. */ -#ifdef HAVE_XNEST_CONFIG_H #include -#endif #include #include diff --git a/hw/xnest/Init.c b/hw/xnest/Init.c index a32d5ac90..5754a90ee 100644 --- a/hw/xnest/Init.c +++ b/hw/xnest/Init.c @@ -12,9 +12,7 @@ is" without express or implied warranty. */ -#ifdef HAVE_XNEST_CONFIG_H #include -#endif #include #include diff --git a/hw/xnest/Keyboard.c b/hw/xnest/Keyboard.c index e1c42284f..d60d7dd8b 100644 --- a/hw/xnest/Keyboard.c +++ b/hw/xnest/Keyboard.c @@ -12,9 +12,7 @@ is" without express or implied warranty. */ -#ifdef HAVE_XNEST_CONFIG_H #include -#endif #ifdef WIN32 #include diff --git a/hw/xnest/Pixmap.c b/hw/xnest/Pixmap.c index 804e8a3a3..55ea97e39 100644 --- a/hw/xnest/Pixmap.c +++ b/hw/xnest/Pixmap.c @@ -12,9 +12,7 @@ is" without express or implied warranty. */ -#ifdef HAVE_XNEST_CONFIG_H #include -#endif #include #include diff --git a/hw/xnest/Pointer.c b/hw/xnest/Pointer.c index dc45e2dad..e3b702ea9 100644 --- a/hw/xnest/Pointer.c +++ b/hw/xnest/Pointer.c @@ -12,9 +12,7 @@ is" without express or implied warranty. */ -#ifdef HAVE_XNEST_CONFIG_H #include -#endif #include #include diff --git a/hw/xnest/Screen.c b/hw/xnest/Screen.c index 61210602b..b696f19a1 100644 --- a/hw/xnest/Screen.c +++ b/hw/xnest/Screen.c @@ -12,9 +12,7 @@ is" without express or implied warranty. */ -#ifdef HAVE_XNEST_CONFIG_H #include -#endif #include #include diff --git a/hw/xnest/Visual.c b/hw/xnest/Visual.c index 11673c44a..858324b2c 100644 --- a/hw/xnest/Visual.c +++ b/hw/xnest/Visual.c @@ -12,9 +12,7 @@ is" without express or implied warranty. */ -#ifdef HAVE_XNEST_CONFIG_H #include -#endif #include #include diff --git a/hw/xnest/Window.c b/hw/xnest/Window.c index 479a9eab3..82090db5c 100644 --- a/hw/xnest/Window.c +++ b/hw/xnest/Window.c @@ -12,9 +12,7 @@ is" without express or implied warranty. */ -#ifdef HAVE_XNEST_CONFIG_H #include -#endif #include #include