summaryrefslogtreecommitdiff
path: root/chromium/third_party/libxml/src/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/libxml/src/error.c')
-rw-r--r--chromium/third_party/libxml/src/error.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/third_party/libxml/src/error.c b/chromium/third_party/libxml/src/error.c
index 5f42eadcc6d..c96877f4835 100644
--- a/chromium/third_party/libxml/src/error.c
+++ b/chromium/third_party/libxml/src/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; \
@@ -83,6 +81,8 @@ xmlGenericErrorDefaultFunc(void *ctx ATTRIBUTE_UNUSED, const char *msg, ...) {
* initGenericErrorDefaultFunc:
* @handler: the handler
*
+ * DEPRECATED: Use xmlSetGenericErrorFunc.
+ *
* Set or reset (if NULL) the default handler for generic errors
* to the builtin error function.
*/