diff options
Diffstat (limited to 'src/serdi.c')
-rw-r--r-- | src/serdi.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/serdi.c b/src/serdi.c index 14fe3275..7a3ef301 100644 --- a/src/serdi.c +++ b/src/serdi.c @@ -56,13 +56,6 @@ print_usage(const char* name, bool error) return error ? 1 : 0; } -static size_t -file_sink(const void* buf, size_t len, void* stream) -{ - FILE* file = (FILE*)stream; - return fwrite(buf, 1, len, file); -} - bool set_syntax(SerdSyntax* syntax, const char* name) { @@ -202,7 +195,7 @@ main(int argc, char** argv) } SerdWriter* writer = serd_writer_new( - output_syntax, output_style, env, &base_uri, file_sink, out_fd); + output_syntax, output_style, env, &base_uri, serd_file_sink, out_fd); if (chop_prefix) { serd_writer_chop_blank_prefix(writer, chop_prefix); |