Bugfix ... intenral functions should not have public visibility to linker

This commit is contained in:
rfm 2025-01-26 19:01:55 +00:00
parent aa03a7f4e2
commit 9ef3e2f24d
2 changed files with 4 additions and 3 deletions

View file

@ -31,9 +31,6 @@
#import "GSInternal.h"
GS_PRIVATE_INTERNAL(NSXMLElement)
extern void cleanup_namespaces(xmlNodePtr node, xmlNsPtr ns);
extern void ensure_oldNs(xmlNodePtr node);
@implementation NSXMLElement
- (void) dealloc

View file

@ -25,6 +25,7 @@
#define _INCLUDED_NSXMLPRIVATE_H
#import "common.h"
#import "GSPrivate.h"
#ifdef HAVE_LIBXML
@ -65,6 +66,9 @@
*/
#define XMLSTRING(X) ((const unsigned char*)[X UTF8String])
void cleanup_namespaces(xmlNodePtr node, xmlNsPtr ns) GS_ATTRIB_PRIVATE;
BOOL ensure_oldNs(xmlNodePtr node) GS_ATTRIB_PRIVATE;
inline static unsigned char *XMLStringCopy(NSString *source)
{
char *xmlstr;