[libxml2] Fix the globals.h to use XMLPUBFUN



commit 65d359e3a5079e7ad55bf9544195cd22a776c414
Author: Paul Smith <psmith gnu org>
Date:   Mon Sep 7 15:24:24 2009 +0200

    Fix the globals.h to use XMLPUBFUN
    
    * include/libxml/globals.h: in addition to the extern extern
      Paul Smith noted that XMLPUBFUN should be used instead of
      LIBXML_DLL_IMPORT

 include/libxml/globals.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/include/libxml/globals.h b/include/libxml/globals.h
index 65b383a..9d688e0 100644
--- a/include/libxml/globals.h
+++ b/include/libxml/globals.h
@@ -362,7 +362,7 @@ XMLPUBFUN void * * XMLCALL __xmlStructuredErrorContext(void);
 #define xmlStructuredErrorContext \
 (*(__xmlStructuredErrorContext()))
 #else
-LIBXML_DLL_IMPORT void * xmlStructuredErrorContext;
+XMLPUBVAR void * xmlStructuredErrorContext;
 #endif
 
 XMLPUBFUN int * XMLCALL __xmlGetWarningsDefaultValue(void);



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