diff options
Diffstat (limited to 'src/input_stream.c')
-rw-r--r-- | src/input_stream.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/input_stream.c b/src/input_stream.c index 5755ccc3..e83f9e6a 100644 --- a/src/input_stream.c +++ b/src/input_stream.c @@ -64,10 +64,10 @@ serd_string_close(void* const stream) } SerdInputStream -serd_open_input_stream(SerdReadFunc SERD_NONNULL read_func, - SerdStreamErrorFunc SERD_NONNULL error_func, - SerdStreamCloseFunc SERD_NULLABLE close_func, - void* const stream) +serd_open_input_stream(SerdReadFunc SERD_NONNULL read_func, + SerdErrorFunc SERD_NONNULL error_func, + SerdCloseFunc SERD_NULLABLE close_func, + void* const stream) { assert(read_func); assert(error_func); @@ -126,8 +126,8 @@ serd_open_input_file(const char* const path) input.stream = file; input.read = (SerdReadFunc)fread; - input.error = (SerdStreamErrorFunc)ferror; - input.close = (SerdStreamCloseFunc)fclose; + input.error = (SerdErrorFunc)ferror; + input.close = (SerdCloseFunc)fclose; return input; } |