Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible function pointer types #5

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
4 changes: 1 addition & 3 deletions docObj.c
Original file line number Diff line number Diff line change
Expand Up @@ -1852,9 +1852,7 @@ ErrorCodeToString(code)
}

void
TclXML_libxml2_ErrorHandler (ctx, error)
void *ctx; /* ignore - depends on context */
xmlErrorPtr error;
TclXML_libxml2_ErrorHandler (void *ctx, const xmlError *error)
{
ThreadSpecificData *tsdPtr = Tcl_GetThreadData(&dataKey, sizeof(ThreadSpecificData));
Tcl_Obj *objPtr;
Expand Down
2 changes: 1 addition & 1 deletion include/tclxml-libxml2/tclxml-libxml2Decls.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ EXTERN void TclXML_libxml2_DocKeep _ANSI_ARGS_((Tcl_Obj * objPtr,
TclXML_libxml2_DocumentHandling keep));
/* 10 */
EXTERN void TclXML_libxml2_ErrorHandler _ANSI_ARGS_((void * ctx,
xmlErrorPtr error));
const xmlError *error));
/* 11 */
EXTERN void TclXML_libxml2_ResetError _ANSI_ARGS_((
Tcl_Interp * interp));
Expand Down