]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
Makefile.in: Remove special treatment of ortp_send/ortp_recv
authorAndre <maan@p133.(none)>
Wed, 19 Apr 2006 21:59:08 +0000 (23:59 +0200)
committerAndre <maan@p133.(none)>
Wed, 19 Apr 2006 21:59:08 +0000 (23:59 +0200)
they no longer depend on glib, so use the generic rule for building
object files. This made gcc spit out some trivial warnings about
unused variables which are also fixed in this patch.

Makefile.in
ortp_send.c

index a6d55d410db7287ba7fc707cb7b923ab79bfe372..efef94b0946e00d43f7ecdee23cd2b4d611c421c 100644 (file)
@@ -146,11 +146,6 @@ grab_client.cmdline.h grab_client.cmdline.c: grab_client.ggo
        esac; \
        gengetopt $$O --conf-parser --file-name=$(*F).cmdline --set-package="para_$(subst .cmdline,,$(*F))" --set-version="$V"  < $<
 
-ortp_send.o: ortp_send.c
-       $(CC) -c -Wall -o $@ -g @GLIB_CFLAGS@ $<
-ortp_recv.o: ortp_recv.c
-       $(CC) -c -Wall -o $@ -g @GLIB_CFLAGS@ $<
-
 para_recv: @recv_objs@
        $(CC) @recv_objs@ -o $@ @recv_ldflags@
 
index 19b54d3932897be20067c6b06b608653fafbf911..07e3cccfbc65423bcd0455d1b9eb5617fbbe1c91 100644 (file)
@@ -192,14 +192,14 @@ static void ortp_send(struct audio_format *af, long unsigned current_chunk,
        free(sendbuf);
 }
 
-static int ortp_com_on(struct sender_command_data *scd)
+static int ortp_com_on(__a_unused struct sender_command_data *scd)
 {
 
        self->status = SENDER_ON;
        return 1;
 }
 
-static int ortp_com_off(struct sender_command_data *scd)
+static int ortp_com_off(__a_unused struct sender_command_data *scd)
 {
        ortp_shutdown_targets();
        self->status = SENDER_OFF;
@@ -290,8 +290,9 @@ success:
        }
 }
 
-static void ortp_pre_select(struct audio_format *af, int *max_fileno,
-               fd_set *rfds, fd_set *wfds)
+static void ortp_pre_select(__a_unused struct audio_format *af,
+       __a_unused  int *max_fileno, __a_unused fd_set *rfds,
+       __a_unused fd_set *wfds)
 {
        return;
 }