diff options
author | David Robillard <d@drobilla.net> | 2021-09-09 14:30:19 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-01-28 21:57:07 -0500 |
commit | 5ea7c0d763685c23dc6933e273dfa11eec5bec14 (patch) | |
tree | c858abf15eae4f98472796aff3d05e4aadc51bc1 /tools | |
parent | bd24b8f6d558bafbbb16d9490ebe3478dbf130bd (diff) | |
download | serd-5ea7c0d763685c23dc6933e273dfa11eec5bec14.tar.gz serd-5ea7c0d763685c23dc6933e273dfa11eec5bec14.tar.bz2 serd-5ea7c0d763685c23dc6933e273dfa11eec5bec14.zip |
Use simpler names for I/O function types
Diffstat (limited to 'tools')
-rw-r--r-- | tools/console.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/console.c b/tools/console.c index 0e41a2a0..3b209273 100644 --- a/tools/console.c +++ b/tools/console.c @@ -358,7 +358,7 @@ serd_open_tool_input(const char* const filename) { if (!strcmp(filename, "-")) { const SerdInputStream in = serd_open_input_stream( - serd_file_read_byte, (SerdStreamErrorFunc)ferror, NULL, stdin); + serd_file_read_byte, (SerdErrorFunc)ferror, NULL, stdin); serd_set_stream_utf8_mode(stdin); return in; @@ -373,7 +373,7 @@ serd_open_tool_output(const char* const filename) if (!filename || !strcmp(filename, "-")) { serd_set_stream_utf8_mode(stdout); return serd_open_output_stream( - (SerdWriteFunc)fwrite, (SerdStreamCloseFunc)fclose, stdout); + (SerdWriteFunc)fwrite, (SerdCloseFunc)fclose, stdout); } return serd_open_output_file(filename); |