]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - dccp_send.c
struct audio_format_handler: use proper pointer type for the init function
[paraslash.git] / dccp_send.c
index e838b3d87f23a64faa7eb4829f38c2dbcac7cf1c..855780e6cd6a691be9dbaf1200e2c40f8fda3872 100644 (file)
@@ -50,8 +50,8 @@ struct dccp_client {
        int header_sent;
 };
 
        int header_sent;
 };
 
-static void dccp_pre_select(__a_unused struct audio_format *af, int *max_fileno, fd_set *rfds,
-               __a_unused fd_set *wfds)
+static void dccp_pre_select(__a_unused struct audio_format_handler *af,
+               int *max_fileno, fd_set *rfds, __a_unused fd_set *wfds)
 {
        if (listen_fd < 0)
                return;
 {
        if (listen_fd < 0)
                return;
@@ -59,8 +59,8 @@ static void dccp_pre_select(__a_unused struct audio_format *af, int *max_fileno,
        *max_fileno = PARA_MAX(*max_fileno, listen_fd);
 }
 
        *max_fileno = PARA_MAX(*max_fileno, listen_fd);
 }
 
-static void dccp_post_select(__a_unused struct audio_format *af, fd_set *rfds,
-               __a_unused fd_set *wfds)
+static void dccp_post_select(__a_unused struct audio_format_handler *af,
+               fd_set *rfds, __a_unused fd_set *wfds)
 {
        struct dccp_client *dc;
        int ret;
 {
        struct dccp_client *dc;
        int ret;
@@ -133,7 +133,7 @@ err_out:
        return -E_DCCP_WRITE;
 }
 
        return -E_DCCP_WRITE;
 }
 
-static void dccp_send(__a_unused struct audio_format *af,
+static void dccp_send(__a_unused struct audio_format_handler *af,
                long unsigned current_chunk,
                __a_unused long unsigned chunks_sent, const char *buf, size_t len)
 {
                long unsigned current_chunk,
                __a_unused long unsigned chunks_sent, const char *buf, size_t len)
 {