diff options
author | David Robillard <d@drobilla.net> | 2020-11-12 13:25:09 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-12 13:31:03 +0100 |
commit | 1319a748cbb40c4d7257e3dd2537bcfee2a9b164 (patch) | |
tree | 0b29d3e6c79eb1573cb3682d9e4db2ec6194e836 | |
parent | d9a475252b5252ff8d1bdffeed08d138331d7426 (diff) | |
download | serd-1319a748cbb40c4d7257e3dd2537bcfee2a9b164.tar.gz serd-1319a748cbb40c4d7257e3dd2537bcfee2a9b164.tar.bz2 serd-1319a748cbb40c4d7257e3dd2537bcfee2a9b164.zip |
Add missing const qualifiers
-rw-r--r-- | src/serdi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/serdi.c b/src/serdi.c index dff87856..c4f0d681 100644 --- a/src/serdi.c +++ b/src/serdi.c @@ -302,13 +302,13 @@ main(int argc, char** argv) base = serd_node_new_file_uri(input, NULL, &base_uri, true); } - FILE* out_fd = stdout; - SerdEnv* env = serd_env_new(&base); + FILE* const out_fd = stdout; + SerdEnv* const env = serd_env_new(&base); - SerdWriter* writer = serd_writer_new( + SerdWriter* const writer = serd_writer_new( output_syntax, output_style, env, &base_uri, serd_file_sink, out_fd); - SerdReader* reader = serd_reader_new( + SerdReader* const reader = serd_reader_new( input_syntax, writer, NULL, (SerdBaseSink)serd_writer_set_base_uri, (SerdPrefixSink)serd_writer_set_prefix, |