]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - alsa_write.c
Change the ->open method of writers to void.
[paraslash.git] / alsa_write.c
index aa772daaae48bbd135d222b0eca3d70543d3060c..b685e4f79b039010a439503095adaf00f9187c6b 100644 (file)
@@ -143,10 +143,9 @@ static int alsa_init(struct private_alsa_write_data *pad,
 }
 
 /* Open an instance of the alsa writer. */
-static int alsa_open(struct writer_node *wn)
+static void alsa_open(struct writer_node *wn)
 {
        wn->private_data = para_calloc(sizeof(struct private_alsa_write_data));
-       return 1;
 }
 
 static void alsa_write_pre_select(struct sched *s, struct task *t)