From c9c21a771d753c19172f54cf0273601cc8407ac5 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 15 Feb 2024 17:16:56 +0100 Subject: [PATCH] (submit/xnest-HAVE_XNEST_CONFIG_H) 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 adea553d6..7ee66e2ab 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 279c0b1c6..f5f23e2c7 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 fea5a959b..3ad5ec575 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 0735de772..514eef7e0 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 317a5b7fb..ed09d22e2 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 4a8f7d328..2c3555990 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 df12aee7d..44e49ddde 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 9c35d7410..bb4e22478 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 214c7b0a7..0ae42d53a 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 7735b9310..e0f94a72c 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 a2ee90064..b7cc6e8c2 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 6eb767233..f5f3d7212 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 932db760c..6f3fc64cb 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