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.
esac; \
gengetopt $$O --conf-parser --file-name=$(*F).cmdline --set-package="para_$(subst .cmdline,,$(*F))" --set-version="$V" < $<
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@
para_recv: @recv_objs@
$(CC) @recv_objs@ -o $@ @recv_ldflags@
-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;
}
{
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;
{
ortp_shutdown_targets();
self->status = SENDER_OFF;
-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)