tests CHANGE speedup building
Instead of including C source files and bilding each test from the
sources, use shared library objects and link them into the resulting
test executable.
Maintaining list of included C source files was unmaintainable with the
increasing number of source files and dependencies between them.
diff --git a/src/xml.c b/src/xml.c
index 89fc353..9de0565 100644
--- a/src/xml.c
+++ b/src/xml.c
@@ -186,7 +186,7 @@
* work with the pointer when the function succeeds. In case of error the value is freed.
* @return LY_ERR values.
*/
-static LY_ERR
+LY_ERR
lyxml_ns_add(struct lyxml_context *context, const char *prefix, size_t prefix_len, char *uri)
{
struct lyxml_ns *ns;
@@ -218,7 +218,7 @@
* @param[in] context XML context to work with.
* @return LY_ERR values.
*/
-static LY_ERR
+LY_ERR
lyxml_ns_rm(struct lyxml_context *context)
{
unsigned int u;