diff options
author | Lauri Aalto <laalto@iki.fi> | 2010-04-06 13:43:10 +0300 |
---|---|---|
committer | Lauri Aalto <laalto@iki.fi> | 2010-04-06 13:43:10 +0300 |
commit | 3fdfaaeb66d06290b4e3d76e350357aabed5a160 (patch) | |
tree | 90598d70fdeda881344e520f0b38e2655cf6f076 /src/raptor_serialize_rdfxml.c | |
parent | 5cf1d81adfcdcab27edd199d9675f4993560179f (diff) | |
download | raptor-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.c | 2 |
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] = { |