summaryrefslogtreecommitdiff
path: root/src/raptor_serialize_rdfxml.c
diff options
context:
space:
mode:
authorLauri Aalto <laalto@iki.fi>2010-04-06 13:43:10 +0300
committerLauri Aalto <laalto@iki.fi>2010-04-06 13:43:10 +0300
commit3fdfaaeb66d06290b4e3d76e350357aabed5a160 (patch)
tree90598d70fdeda881344e520f0b38e2655cf6f076 /src/raptor_serialize_rdfxml.c
parent5cf1d81adfcdcab27edd199d9675f4993560179f (diff)
downloadraptor-3fdfaaeb66d06290b4e3d76e350357aabed5a160.tar.gz
Removed writable static data.
Changed *_names arrays to be const. Also fixed dimensions of *_names arrays to match number of elements. (raptor_syntax_description): Changed syntax names array to const to not lose const qualifiers in initialization/assignment.
Diffstat (limited to 'src/raptor_serialize_rdfxml.c')
-rw-r--r--src/raptor_serialize_rdfxml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raptor_serialize_rdfxml.c b/src/raptor_serialize_rdfxml.c
index a0c61f99..48013542 100644
--- a/src/raptor_serialize_rdfxml.c
+++ b/src/raptor_serialize_rdfxml.c
@@ -697,7 +697,7 @@ raptor_rdfxml_serialize_finish_factory(raptor_serializer_factory* factory)
}
-static const char* rdfxml_names[3] = { "rdfxml", NULL};
+static const char* const rdfxml_names[2] = { "rdfxml", NULL};
#define RDFXML_TYPES_COUNT 1
static const raptor_type_q rdfxml_types[RDFXML_TYPES_COUNT + 1] = {