From 286005e121c5409f72ea9c60ceb3f1aa12d61625 Mon Sep 17 00:00:00 2001 From: Johan Malm Date: Fri, 26 Sep 2025 19:14:30 +0100 Subject: [PATCH] Privatize rcxml_parse_xml() --- include/config/rcxml.h | 1 - src/config/rcxml.c | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/include/config/rcxml.h b/include/config/rcxml.h index b1c28d12..e4fd184b 100644 --- a/include/config/rcxml.h +++ b/include/config/rcxml.h @@ -200,7 +200,6 @@ struct rcxml { extern struct rcxml rc; -void rcxml_parse_xml(struct buf *b); void rcxml_read(const char *filename); void rcxml_finish(void); diff --git a/src/config/rcxml.c b/src/config/rcxml.c index 89293c43..9bf38941 100644 --- a/src/config/rcxml.c +++ b/src/config/rcxml.c @@ -1323,8 +1323,7 @@ traverse(xmlNode *node) } } -/* Exposed in header file to allow unit tests to parse buffers */ -void +static void rcxml_parse_xml(struct buf *b) { int options = 0; -- 2.52.0