summaryrefslogtreecommitdiff
path: root/libexslt
diff options
context:
space:
mode:
authorDavid Kilzer <ddkilzer@apple.com>2020-01-24 13:21:36 -0800
committerNick Wellnhofer <wellnhofer@aevum.de>2020-02-11 11:01:09 +0100
commit53174e798d74cf78e59193c9de5cbf9796f34f9d (patch)
tree4ded7329a31bd1a1f179ac723e506fb6454c33cb /libexslt
parent7357f29c3a83aaa4b06bc86a2be36d5eea11201e (diff)
downloadlibxslt-53174e798d74cf78e59193c9de5cbf9796f34f9d.tar.gz
Fix redundant includes already in libexslt.h
Remove includes of "config.h", <libxslt/xsltconfig.h> and <libxml/xmlversion.h> in libexslt C sources since they are already included with "libexslt/libexslt.h".
Diffstat (limited to 'libexslt')
-rw-r--r--libexslt/common.c7
-rw-r--r--libexslt/crypto.c7
-rw-r--r--libexslt/date.c7
-rw-r--r--libexslt/dynamic.c7
-rw-r--r--libexslt/exslt.c5
-rw-r--r--libexslt/functions.c6
-rw-r--r--libexslt/math.c7
-rw-r--r--libexslt/saxon.c7
-rw-r--r--libexslt/sets.c6
-rw-r--r--libexslt/strings.c7
10 files changed, 0 insertions, 66 deletions
diff --git a/libexslt/common.c b/libexslt/common.c
index 1a444f32..54405f68 100644
--- a/libexslt/common.c
+++ b/libexslt/common.c
@@ -1,17 +1,10 @@
#define IN_LIBEXSLT
#include "libexslt/libexslt.h"
-#if defined(_WIN32) && !defined (__CYGWIN__) && (!__MINGW32__)
-#include <win32config.h>
-#else
-#include "config.h"
-#endif
-
#include <libxml/tree.h>
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
-#include <libxslt/xsltconfig.h>
#include <libxslt/xsltutils.h>
#include <libxslt/xsltInternals.h>
#include <libxslt/extensions.h>
diff --git a/libexslt/crypto.c b/libexslt/crypto.c
index c6bf34f4..35d1f4fe 100644
--- a/libexslt/crypto.c
+++ b/libexslt/crypto.c
@@ -1,12 +1,6 @@
#define IN_LIBEXSLT
#include "libexslt/libexslt.h"
-#if defined(_WIN32) && !defined (__CYGWIN__) && (!__MINGW32__)
-#include <win32config.h>
-#else
-#include "config.h"
-#endif
-
#include <libxml/tree.h>
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
@@ -14,7 +8,6 @@
#include <libxml/encoding.h>
#include <libxml/uri.h>
-#include <libxslt/xsltconfig.h>
#include <libxslt/xsltutils.h>
#include <libxslt/xsltInternals.h>
#include <libxslt/extensions.h>
diff --git a/libexslt/date.c b/libexslt/date.c
index 7e805bd7..e3c86322 100644
--- a/libexslt/date.c
+++ b/libexslt/date.c
@@ -22,12 +22,6 @@
#define IN_LIBEXSLT
#include "libexslt/libexslt.h"
-#if defined(_WIN32) && !defined (__CYGWIN__) && (!__MINGW32__)
-#include <win32config.h>
-#else
-#include "config.h"
-#endif
-
#if defined(HAVE_LOCALTIME_R) && defined(__GLIBC__) /* _POSIX_SOURCE required by gnu libc */
#ifndef _AIX51 /* but on AIX we're not using gnu libc */
#define _POSIX_SOURCE
@@ -38,7 +32,6 @@
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
-#include <libxslt/xsltconfig.h>
#include <libxslt/xsltutils.h>
#include <libxslt/xsltInternals.h>
#include <libxslt/extensions.h>
diff --git a/libexslt/dynamic.c b/libexslt/dynamic.c
index 4dd02c31..91ceb409 100644
--- a/libexslt/dynamic.c
+++ b/libexslt/dynamic.c
@@ -23,17 +23,10 @@
#define IN_LIBEXSLT
#include "libexslt/libexslt.h"
-#if defined(_WIN32) && !defined (__CYGWIN__) && (!__MINGW32__)
-#include <win32config.h>
-#else
-#include "config.h"
-#endif
-
#include <libxml/tree.h>
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
-#include <libxslt/xsltconfig.h>
#include <libxslt/xsltutils.h>
#include <libxslt/xsltInternals.h>
#include <libxslt/extensions.h>
diff --git a/libexslt/exslt.c b/libexslt/exslt.c
index 0bccf178..13cda683 100644
--- a/libexslt/exslt.c
+++ b/libexslt/exslt.c
@@ -1,11 +1,6 @@
#define IN_LIBEXSLT
#include "libexslt/libexslt.h"
-#include <libxml/xmlversion.h>
-
-#include "config.h"
-
-#include <libxslt/xsltconfig.h>
#include <libxslt/extensions.h>
#include <libexslt/exsltconfig.h>
diff --git a/libexslt/functions.c b/libexslt/functions.c
index 2f744311..958bf60e 100644
--- a/libexslt/functions.c
+++ b/libexslt/functions.c
@@ -1,12 +1,6 @@
#define IN_LIBEXSLT
#include "libexslt/libexslt.h"
-#if defined(_WIN32) && !defined (__CYGWIN__) && (!__MINGW32__)
-#include <win32config.h>
-#else
-#include "config.h"
-#endif
-
#include <string.h>
#include <libxml/tree.h>
diff --git a/libexslt/math.c b/libexslt/math.c
index f1aa0ba5..b70f2eb5 100644
--- a/libexslt/math.c
+++ b/libexslt/math.c
@@ -1,17 +1,10 @@
#define IN_LIBEXSLT
#include "libexslt/libexslt.h"
-#if defined(_WIN32) && !defined (__CYGWIN__) && (!__MINGW32__)
-#include <win32config.h>
-#else
-#include "config.h"
-#endif
-
#include <libxml/tree.h>
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
-#include <libxslt/xsltconfig.h>
#include <libxslt/xsltutils.h>
#include <libxslt/xsltInternals.h>
#include <libxslt/extensions.h>
diff --git a/libexslt/saxon.c b/libexslt/saxon.c
index e8b64406..8512c6de 100644
--- a/libexslt/saxon.c
+++ b/libexslt/saxon.c
@@ -1,19 +1,12 @@
#define IN_LIBEXSLT
#include "libexslt/libexslt.h"
-#if defined(_WIN32) && !defined (__CYGWIN__) && (!__MINGW32__)
-#include <win32config.h>
-#else
-#include "config.h"
-#endif
-
#include <libxml/tree.h>
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
#include <libxml/parser.h>
#include <libxml/hash.h>
-#include <libxslt/xsltconfig.h>
#include <libxslt/xsltutils.h>
#include <libxslt/xsltInternals.h>
#include <libxslt/extensions.h>
diff --git a/libexslt/sets.c b/libexslt/sets.c
index c7142ff1..a4b55460 100644
--- a/libexslt/sets.c
+++ b/libexslt/sets.c
@@ -1,12 +1,6 @@
#define IN_LIBEXSLT
#include "libexslt/libexslt.h"
-#if defined(_WIN32) && !defined (__CYGWIN__) && (!__MINGW32__)
-#include <win32config.h>
-#else
-#include "config.h"
-#endif
-
#include <libxml/tree.h>
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
diff --git a/libexslt/strings.c b/libexslt/strings.c
index 14d9172f..5d429ec6 100644
--- a/libexslt/strings.c
+++ b/libexslt/strings.c
@@ -1,12 +1,6 @@
#define IN_LIBEXSLT
#include "libexslt/libexslt.h"
-#if defined(_WIN32) && !defined (__CYGWIN__) && (!__MINGW32__)
-#include <win32config.h>
-#else
-#include "config.h"
-#endif
-
#include <libxml/tree.h>
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
@@ -14,7 +8,6 @@
#include <libxml/encoding.h>
#include <libxml/uri.h>
-#include <libxslt/xsltconfig.h>
#include <libxslt/xsltutils.h>
#include <libxslt/xsltInternals.h>
#include <libxslt/extensions.h>