Privatize rcxml_parse_xml()

This commit is contained in:
Johan Malm 2025-09-26 19:14:30 +01:00 committed by Johan Malm
parent 040e25f38e
commit 286005e121
2 changed files with 1 additions and 3 deletions

View file

@ -200,7 +200,6 @@ struct rcxml {
extern struct rcxml rc; extern struct rcxml rc;
void rcxml_parse_xml(struct buf *b);
void rcxml_read(const char *filename); void rcxml_read(const char *filename);
void rcxml_finish(void); void rcxml_finish(void);

View file

@ -1323,8 +1323,7 @@ traverse(xmlNode *node)
} }
} }
/* Exposed in header file to allow unit tests to parse buffers */ static void
void
rcxml_parse_xml(struct buf *b) rcxml_parse_xml(struct buf *b)
{ {
int options = 0; int options = 0;