1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-27 12:15:34 +03:00

Stop including ansidecl.h

This seems to be an undocumented, internal GCC header added a long time
ago. I don't know why it was included, but I think it can be safely
removed.
This commit is contained in:
Nick Wellnhofer
2017-11-13 18:35:51 +01:00
parent bf3b456350
commit ff628d46a1
6 changed files with 0 additions and 16 deletions

View File

@@ -479,7 +479,6 @@ AC_CHECK_HEADERS([sys/types.h])
AC_CHECK_HEADERS([stdint.h]) AC_CHECK_HEADERS([stdint.h])
AC_CHECK_HEADERS([inttypes.h]) AC_CHECK_HEADERS([inttypes.h])
AC_CHECK_HEADERS([time.h]) AC_CHECK_HEADERS([time.h])
AC_CHECK_HEADERS([ansidecl.h])
AC_CHECK_HEADERS([math.h]) AC_CHECK_HEADERS([math.h])
AC_CHECK_HEADERS([limits.h]) AC_CHECK_HEADERS([limits.h])
AC_CHECK_HEADERS([float.h]) AC_CHECK_HEADERS([float.h])

View File

@@ -410,9 +410,6 @@ XMLPUBFUN void XMLCALL xmlCheckVersion(int version);
#endif #endif
#ifdef __GNUC__ #ifdef __GNUC__
#ifdef HAVE_ANSIDECL_H
#include <ansidecl.h>
#endif
/** /**
* ATTRIBUTE_UNUSED: * ATTRIBUTE_UNUSED:

View File

@@ -214,9 +214,6 @@ extern void xmlCheckVersion(int version);
* Macro used to signal to GCC unused function parameters * Macro used to signal to GCC unused function parameters
*/ */
#ifdef __GNUC__ #ifdef __GNUC__
#ifdef HAVE_ANSIDECL_H
#include <ansidecl.h>
#endif
#ifndef ATTRIBUTE_UNUSED #ifndef ATTRIBUTE_UNUSED
#define ATTRIBUTE_UNUSED #define ATTRIBUTE_UNUSED
#endif #endif

View File

@@ -243,9 +243,6 @@ extern void xmlCheckVersion(int version);
#endif #endif
#ifdef __GNUC__ #ifdef __GNUC__
#ifdef HAVE_ANSIDECL_H
#include <ansidecl.h>
#endif
/** /**
* ATTRIBUTE_UNUSED: * ATTRIBUTE_UNUSED:

View File

@@ -57,9 +57,6 @@
/* Define if you have the vsprintf function. */ /* Define if you have the vsprintf function. */
#define HAVE_VSPRINTF #define HAVE_VSPRINTF
/* Define if you have the <ansidecl.h> header file. */
#define HAVE_ANSIDECL_H
/* Define if you have the <arpa/inet.h> header file. */ /* Define if you have the <arpa/inet.h> header file. */
#define HAVE_ARPA_INET_H #define HAVE_ARPA_INET_H

View File

@@ -6,9 +6,6 @@
*** Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A. *** Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A.
**/ **/
/* Define to 1 if you have the <ansidecl.h> header file. */
#undef HAVE_ANSIDECL_H
/* Define to 1 if you have the <arpa/inet.h> header file. */ /* Define to 1 if you have the <arpa/inet.h> header file. */
#define HAVE_ARPA_INET_H 1 #define HAVE_ARPA_INET_H 1