1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-26 00:37:43 +03:00

Problem with extern extern in header

* include/libxml/globals.h: LIBXML_DLL_IMPORT should not be
  followed by extern
* include/libxml/xmlmemory.h: fix the same problem but in a comment
This commit is contained in:
Daniel Veillard
2009-09-07 15:20:24 +02:00
parent 594e5dfb48
commit 82cf412da8
2 changed files with 6 additions and 6 deletions

View File

@@ -362,7 +362,7 @@ XMLPUBFUN void * * XMLCALL __xmlStructuredErrorContext(void);
#define xmlStructuredErrorContext \
(*(__xmlStructuredErrorContext()))
#else
LIBXML_DLL_IMPORT extern void * xmlStructuredErrorContext;
LIBXML_DLL_IMPORT void * xmlStructuredErrorContext;
#endif
XMLPUBFUN int * XMLCALL __xmlGetWarningsDefaultValue(void);