mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-10-26 12:25:09 +03:00
dict.h: gcc 2.95 doesn't allow multiple storage classes
This is a partial revert of commit c71f9305
. I'm not sure what issue
this commit was trying to solve but it seems to be related to a
circular dependency. It might be related to tree.h being included
from dict.h which is unnecessary.
Resolves !22.
This commit is contained in:
parent
01ea9c5af7
commit
37189c08e6
@ -80,7 +80,6 @@ ignored_words = {
|
||||
"ATTRIBUTE_PRINTF": (5, "macro for gcc printf args checking extension"),
|
||||
"LIBXML_ATTR_FORMAT": (5, "macro for gcc printf args checking extension"),
|
||||
"LIBXML_ATTR_ALLOC_SIZE": (3, "macro for gcc checking extension"),
|
||||
"__XML_EXTERNC": (0, "Special macro added for os400"),
|
||||
}
|
||||
|
||||
def escape(raw):
|
||||
|
@ -11,25 +11,18 @@
|
||||
#ifndef __XML_DICT_H__
|
||||
#define __XML_DICT_H__
|
||||
|
||||
#include <stddef.h>
|
||||
#include <libxml/xmlversion.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
#define __XML_EXTERNC extern "C"
|
||||
#else
|
||||
#define __XML_EXTERNC
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
* The dictionary.
|
||||
*/
|
||||
__XML_EXTERNC typedef struct _xmlDict xmlDict;
|
||||
__XML_EXTERNC typedef xmlDict *xmlDictPtr;
|
||||
|
||||
#include <limits.h>
|
||||
#include <libxml/xmlversion.h>
|
||||
#include <libxml/tree.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
typedef struct _xmlDict xmlDict;
|
||||
typedef xmlDict *xmlDictPtr;
|
||||
|
||||
/*
|
||||
* Initializer
|
||||
|
Loading…
Reference in New Issue
Block a user