[libxslt] Stop including ansidecl.h



commit 098c399072f6239124a3817b49ac12ad424fdbcb
Author: Nick Wellnhofer <wellnhofer aevum de>
Date:   Mon Apr 8 14:07:29 2019 +0200

    Stop including ansidecl.h
    
    This seems to be an undocumented, internal GCC header added a long time
    ago.
    
    Resolves !2.

 configure.ac              | 2 +-
 libexslt/exsltconfig.h.in | 3 ---
 libxslt/xsltconfig.h.in   | 3 ---
 3 files changed, 1 insertion(+), 7 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index ae643387..0780bc80 100644
--- a/configure.ac
+++ b/configure.ac
@@ -168,7 +168,7 @@ dnl
 dnl Math detection
 dnl
 
-AC_CHECK_HEADERS(ieeefp.h nan.h math.h fp_class.h float.h ansidecl.h)
+AC_CHECK_HEADERS(ieeefp.h nan.h math.h fp_class.h float.h)
 AC_CHECK_HEADERS(sys/timeb.h time.h sys/stat.h sys/select.h stdarg.h)
 AC_CHECK_HEADERS(errno.h)
 AC_CHECK_FUNCS(stat _stat)
diff --git a/libexslt/exsltconfig.h.in b/libexslt/exsltconfig.h.in
index 03b4b3b6..2e58ec62 100644
--- a/libexslt/exsltconfig.h.in
+++ b/libexslt/exsltconfig.h.in
@@ -56,9 +56,6 @@ extern "C" {
  * This macro is used to flag unused function parameters to GCC
  */
 #ifdef __GNUC__
-#ifdef HAVE_ANSIDECL_H
-#include <ansidecl.h>
-#endif
 #ifndef ATTRIBUTE_UNUSED
 #define ATTRIBUTE_UNUSED __attribute__((unused))
 #endif
diff --git a/libxslt/xsltconfig.h.in b/libxslt/xsltconfig.h.in
index 1dda1766..f381ded2 100644
--- a/libxslt/xsltconfig.h.in
+++ b/libxslt/xsltconfig.h.in
@@ -129,9 +129,6 @@ extern "C" {
  * This macro is used to flag unused function parameters to GCC
  */
 #ifdef __GNUC__
-#ifdef HAVE_ANSIDECL_H
-#include <ansidecl.h>
-#endif
 #ifndef ATTRIBUTE_UNUSED
 #define ATTRIBUTE_UNUSED __attribute__((unused))
 #endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]