summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2022-08-26 01:22:33 +0200
committerNick Wellnhofer <wellnhofer@aevum.de>2022-08-26 02:11:56 +0200
commit0f568c0b7376d5013a14e9186ec962b5aa033636 (patch)
tree286fc1f82577d02f78fc9242db8a510e91788f41 /error.c
parent48f84ea8ed3bcd9c096accfdc1e8c2d588a557a4 (diff)
downloadlibxml2-0f568c0b7376d5013a14e9186ec962b5aa033636.tar.gz
Consolidate private header files
Private functions were previously declared - in header files in the root directory - in public headers guarded with IN_LIBXML - in libxml.h - redundantly in source files that used them. Consolidate all private header files in include/private.
Diffstat (limited to 'error.c')
-rw-r--r--error.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/error.c b/error.c
index 5f42eadc..49bd84e0 100644
--- a/error.c
+++ b/error.c
@@ -16,9 +16,7 @@
#include <libxml/xmlmemory.h>
#include <libxml/globals.h>
-void XMLCDECL xmlGenericErrorDefaultFunc (void *ctx ATTRIBUTE_UNUSED,
- const char *msg,
- ...) LIBXML_ATTR_FORMAT(2,3);
+#include "private/error.h"
#define XML_GET_VAR_STR(msg, str) { \
int size, prev_size = -1; \