1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

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
This commit is contained in:
Daniel Veillard
2002-09-26 09:47:36 +00:00
parent d4cb1e8a5f
commit dda8f1ba9f
5 changed files with 20 additions and 14 deletions

View File

@ -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)
{