[libxml2] Fix signature of xmlSchemaAugmentImportedIDC
- From: Daniel Veillard <veillard src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] Fix signature of xmlSchemaAugmentImportedIDC
- Date: Thu, 27 Jul 2017 06:08:21 +0000 (UTC)
commit 27f310d453b7e2e71847e5910a0961753aacdbd1
Author: Daniel Veillard <veillard redhat com>
Date: Thu Jul 27 14:06:44 2017 +0800
Fix signature of xmlSchemaAugmentImportedIDC
this is used in a callback which will pass a name, the name is ignored
but it's best to have the signature of the function match, pointed out
by Claude Petit
* xmlschemas.c: fix xmlSchemaAugmentImportedIDC() signature no functional
change
xmlschemas.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/xmlschemas.c b/xmlschemas.c
index b1b5c23..46bddd3 100644
--- a/xmlschemas.c
+++ b/xmlschemas.c
@@ -22031,7 +22031,7 @@ xmlSchemaAugmentIDC(xmlSchemaIDCPtr idcDef,
* Creates an augmented IDC definition for the imported schema.
*/
static void
-xmlSchemaAugmentImportedIDC(xmlSchemaImportPtr imported, xmlSchemaValidCtxtPtr vctxt) {
+xmlSchemaAugmentImportedIDC(xmlSchemaImportPtr imported, xmlSchemaValidCtxtPtr vctxt, xmlChar *name
ATTRIBUTE_UNUSED) {
if (imported->schema->idcDef != NULL) {
xmlHashScan(imported->schema->idcDef ,
(xmlHashScanner) xmlSchemaAugmentIDC, vctxt);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]