From 5ea7c0d763685c23dc6933e273dfa11eec5bec14 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 9 Sep 2021 14:30:19 -0400 Subject: Use simpler names for I/O function types --- tools/console.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') 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); -- cgit v1.2.1