Skip to content

Commit

Permalink
Bugfix ... intenral functions should not have public visibility to li…
Browse files Browse the repository at this point in the history
…nker
  • Loading branch information
rfm committed Jan 26, 2025
1 parent aa03a7f commit 9ef3e2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Source/NSXMLElement.m
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions Source/NSXMLPrivate.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#define _INCLUDED_NSXMLPRIVATE_H

#import "common.h"
#import "GSPrivate.h"

#ifdef HAVE_LIBXML

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 9ef3e2f

Please sign in to comment.