Skip to content
This repository was archived by the owner on Feb 24, 2024. It is now read-only.

xmlErrorPtr to const xmlError * aligning with libxml 2.12 #247

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion xmlstarlet/src/xml.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ void reportGenericError(void* ctx, const char * msg, ...) {
/* by default all errors are reported */
static ErrorInfo errorInfo = { NULL, NULL, VERBOSE, CONTINUE };

void reportError(void *ptr, xmlErrorPtr error)
void reportError(void *ptr, const xmlError *error)
{
ErrorInfo *errorInfo = (ErrorInfo*) ptr;
assert(errorInfo);
Expand Down
2 changes: 1 addition & 1 deletion xmlstarlet/src/xmlstar.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ typedef struct _errorInfo {
ErrorStop stop;
} ErrorInfo;

void reportError(void *ptr, xmlErrorPtr error);
void reportError(void *ptr, const xmlError *error);
void suppressErrors(void);

typedef struct _gOptions {
Expand Down