From ba106ea09ad1818a7d1013683cb10cd0e8a9784f Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 18 Dec 2025 11:03:26 +0100 Subject: [PATCH] drop obsolete #ifdef HAVE_CONFIG_H Signed-off-by: Enrico Weigelt, metux IT consult --- src/s3v_accel.c | 3 --- src/s3v_dac.c | 3 --- src/s3v_dga.c | 3 --- src/s3v_driver.c | 3 --- src/s3v_hwcurs.c | 3 --- src/s3v_i2c.c | 3 --- src/s3v_shadow.c | 3 --- src/s3v_xv.c | 3 --- 8 files changed, 24 deletions(-) diff --git a/src/s3v_accel.c b/src/s3v_accel.c index a5245b1..3299310 100644 --- a/src/s3v_accel.c +++ b/src/s3v_accel.c @@ -23,10 +23,7 @@ Except as contained in this notice, the name of the XFree86 Project 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 XFree86 Project. */ - -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include #include "s3v.h" diff --git a/src/s3v_dac.c b/src/s3v_dac.c index 2d6298d..dc970fa 100644 --- a/src/s3v_dac.c +++ b/src/s3v_dac.c @@ -34,10 +34,7 @@ in this Software without prior written authorization from the XFree86 Project. * s3vcommonCalcClock from S3gendac.c in pre 4.0 tree. * */ - -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include "s3v.h" diff --git a/src/s3v_dga.c b/src/s3v_dga.c index 8f0f47a..b622678 100644 --- a/src/s3v_dga.c +++ b/src/s3v_dga.c @@ -54,10 +54,7 @@ in this Software without prior written authorization from the XFree86 Project. * ported from mga * */ - -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include "xf86.h" #include "xf86_OSproc.h" diff --git a/src/s3v_driver.c b/src/s3v_driver.c index 62be5d7..d9d0da3 100644 --- a/src/s3v_driver.c +++ b/src/s3v_driver.c @@ -23,10 +23,7 @@ Except as contained in this notice, the name of the XFree86 Project 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 XFree86 Project. */ - -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include diff --git a/src/s3v_hwcurs.c b/src/s3v_hwcurs.c index 7ca6144..2d83fcf 100644 --- a/src/s3v_hwcurs.c +++ b/src/s3v_hwcurs.c @@ -23,10 +23,7 @@ Except as contained in this notice, the name of the XFree86 Project 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 XFree86 Project. */ - -#ifdef HAVE_CONFIG_H #include "config.h" -#endif /* * s3v_hwcurs.c diff --git a/src/s3v_i2c.c b/src/s3v_i2c.c index 823ac7c..3cce967 100644 --- a/src/s3v_i2c.c +++ b/src/s3v_i2c.c @@ -48,10 +48,7 @@ Except as contained in this notice, the name of the XFree86 Project 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 XFree86 Project. */ - -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include "xf86.h" #include "xf86_OSproc.h" diff --git a/src/s3v_shadow.c b/src/s3v_shadow.c index 27e1e3e..630f5da 100644 --- a/src/s3v_shadow.c +++ b/src/s3v_shadow.c @@ -53,10 +53,7 @@ in this Software without prior written authorization from the XFree86 Project. Copyright (c) 1999,2000 The XFree86 Project Inc. based on code written by Mark Vojkovich */ - -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include "xf86.h" #include "xf86_OSproc.h" diff --git a/src/s3v_xv.c b/src/s3v_xv.c index 07cdabb..09f841b 100644 --- a/src/s3v_xv.c +++ b/src/s3v_xv.c @@ -35,10 +35,7 @@ in this Software without prior written authorization from the XFree86 Project. * X Video extension support -> xc/programs/hw/xfree86/common/xf86xv.c * */ - -#ifdef HAVE_CONFIG_H #include "config.h" -#endif /* Most xf86 commons are already in s3v.h */ #include "s3v.h"