aboutsummaryrefslogtreecommitdiffstats
path: root/xmlschemastypes.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2002-09-26 09:47:36 +0000
committerDaniel Veillard <veillard@src.gnome.org>2002-09-26 09:47:36 +0000
commitdda8f1ba9fb2e731e2dd6aa325ed07add7905ec3 (patch)
tree002e29bf0f23a1ef261b9481044fc46561c13ce8 /xmlschemastypes.c
parentd4cb1e8a5f49ba9a3b260ea6b71a6f9b36015fa2 (diff)
downloadandroid_external_libxml2-dda8f1ba9fb2e731e2dd6aa325ed07add7905ec3.tar.gz
android_external_libxml2-dda8f1ba9fb2e731e2dd6aa325ed07add7905ec3.tar.bz2
android_external_libxml2-dda8f1ba9fb2e731e2dd6aa325ed07add7905ec3.zip
make sure ATTRIBUTE_UNUSED is always put after the attribute declaration,
* xinclude.c xmlschemas.c xmlschemastypes.c xpath.c: make sure ATTRIBUTE_UNUSED is always put after the attribute declaration, not before Daniel
Diffstat (limited to 'xmlschemastypes.c')
-rw-r--r--xmlschemastypes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmlschemastypes.c b/xmlschemastypes.c
index 90814eee..976b89f7 100644
--- a/xmlschemastypes.c
+++ b/xmlschemastypes.c
@@ -668,7 +668,7 @@ _xmlSchemaParseTimeZone (xmlSchemaValDatePtr dt, const xmlChar **str) {
* and -1 in case of internal or API error.
*/
static int
-xmlSchemaValidateDates (ATTRIBUTE_UNUSED xmlSchemaTypePtr type,
+xmlSchemaValidateDates (xmlSchemaTypePtr type ATTRIBUTE_UNUSED,
const xmlChar *dateTime, xmlSchemaValPtr *val) {
xmlSchemaValPtr dt;
int ret;
@@ -827,7 +827,7 @@ error:
* and -1 in case of internal or API error.
*/
static int
-xmlSchemaValidateDuration (ATTRIBUTE_UNUSED xmlSchemaTypePtr type,
+xmlSchemaValidateDuration (xmlSchemaTypePtr type ATTRIBUTE_UNUSED,
const xmlChar *duration, xmlSchemaValPtr *val) {
const xmlChar *cur = duration;
xmlSchemaValPtr dur;
@@ -1792,7 +1792,7 @@ xmlSchemaCompareValues(xmlSchemaValPtr x, xmlSchemaValPtr y) {
* number otherwise and -1 in case of internal or API error.
*/
int
-xmlSchemaValidateFacet(ATTRIBUTE_UNUSED xmlSchemaTypePtr base,
+xmlSchemaValidateFacet(xmlSchemaTypePtr base ATTRIBUTE_UNUSED,
xmlSchemaFacetPtr facet,
const xmlChar *value, xmlSchemaValPtr val)
{