summaryrefslogtreecommitdiff
path: root/xpointer.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-03-26 16:28:29 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-03-26 16:28:29 +0000
commitc86a4fae4a164046393d4bb948453e3a71b45754 (patch)
treed7c660857bf17dd698f325995b971d065d1c7038 /xpointer.c
parenta47fb3d9f7de393cb7288d6e51e86d53bd1992d4 (diff)
downloadlibxml2-c86a4fae4a164046393d4bb948453e3a71b45754.tar.gz
- HTMLparser.c HTMLtree.c SAX.c debugXML.c error.c parserInternals.c
testHTML.c testSAX.c tree.c valid.c xmlIO.c xmlmemory.c xmlversion.h.in xpointer.c: of course the way I defined UNUSED breaks on old gcc version. Try to be smart and also define it directly in xmlversion.h - configure.in: removed -ansi flag from the pedantic set Daniel
Diffstat (limited to 'xpointer.c')
-rw-r--r--xpointer.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/xpointer.c b/xpointer.c
index cfd3ee43..06165aef 100644
--- a/xpointer.c
+++ b/xpointer.c
@@ -15,18 +15,6 @@
#include "config.h"
#endif
-/************************************************************************
- * *
- * When running GCC in vaacum cleaner mode *
- * *
- ************************************************************************/
-
-#ifdef __GNUC__
-#define UNUSED __attribute__((__unused__))
-#else
-#define UNUSED
-#endif
-
/**
* TODO: better handling of error cases, the full expression should
* be parsed beforehand instead of a progressive evaluation