]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - file_write.c
Change the ->open method of writers to void.
[paraslash.git] / file_write.c
index 7497dfaa0f00e6be8c8856a2659bcaaa65938100..7bc1e437ea8975a2e97221754a85b00577e4bef4 100644 (file)
@@ -50,13 +50,12 @@ __must_check __malloc static char *random_filename(void)
        return result;
 }
 
-static int file_write_open(struct writer_node *wn)
+static void file_write_open(struct writer_node *wn)
 {
        struct private_file_write_data *pfwd = para_calloc(sizeof(*pfwd));
 
        wn->private_data = pfwd;
        pfwd->fd = -1;
-       return 0;
 }
 
 static int prepare_output_file(struct writer_node *wn)