]> git.mdlowis.com Git - proto/labwc.git/commitdiff
Privatize rcxml_parse_xml()
authorJohan Malm <jgm323@gmail.com>
Fri, 26 Sep 2025 18:14:30 +0000 (19:14 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Mon, 29 Sep 2025 19:22:46 +0000 (20:22 +0100)
include/config/rcxml.h
src/config/rcxml.c

index b1c28d12321854bc20a36cce3ad7df4be9218809..e4fd184b3ac67421c8da23f5448740693c0dd398 100644 (file)
@@ -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);
 
index 89293c43c9cb0cbc88859eb843872d3968b52f81..9bf38941ee7a2762dd4b372d5110c14d656f1cd2 100644 (file)
@@ -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;