1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-28 23:14:57 +03:00

Hide internal functions

These functions were never declared in public headers, so it should be
safe to hide them.

Fixes #139.
This commit is contained in:
Nick Wellnhofer
2022-11-27 02:09:27 +01:00
parent 82bd2c3736
commit ccb6d54409
19 changed files with 140 additions and 72 deletions

View File

@@ -4,17 +4,17 @@
#include <libxml/xmlerror.h>
#include <libxml/xmlversion.h>
void
XML_HIDDEN void
__xmlRaiseError(xmlStructuredErrorFunc schannel,
xmlGenericErrorFunc channel, void *data, void *ctx,
void *nod, int domain, int code, xmlErrorLevel level,
const char *file, int line, const char *str1,
const char *str2, const char *str3, int int1, int col,
const char *msg, ...) LIBXML_ATTR_FORMAT(16,17);
void
XML_HIDDEN void
__xmlSimpleError(int domain, int code, xmlNodePtr node,
const char *msg, const char *extra) LIBXML_ATTR_FORMAT(4,0);
void
XML_HIDDEN void
xmlGenericErrorDefaultFunc(void *ctx, const char *msg,
...) LIBXML_ATTR_FORMAT(2,3);