From: Johan Malm Date: Fri, 26 Sep 2025 18:14:30 +0000 (+0100) Subject: Privatize rcxml_parse_xml() X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=286005e121c5409f72ea9c60ceb3f1aa12d61625;p=proto%2Flabwc.git Privatize rcxml_parse_xml() --- 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;