aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-08-24 00:05:47 +0200
committerMax Kellermann <max@duempel.org>2011-08-24 01:47:14 +0200
commit8e084070903c7b443aa84516080252bdc25b41cf (patch)
treead8dc5b0b8a868323de1a60da9e6c79657d3f67f
parentc0a4558c62df588eb3da285b78ed3b04f28c274d (diff)
downloadmpd-8e084070903c7b443aa84516080252bdc25b41cf.tar.gz
mpd-8e084070903c7b443aa84516080252bdc25b41cf.tar.xz
mpd-8e084070903c7b443aa84516080252bdc25b41cf.zip
output/raop: make send_control_command() static
Only used internally.
-rw-r--r--src/output/raop_output_plugin.c2
-rw-r--r--src/output/raop_output_plugin.h3
2 files changed, 1 insertions, 4 deletions
diff --git a/src/output/raop_output_plugin.c b/src/output/raop_output_plugin.c
index 5bb1d22ea..fc313053a 100644
--- a/src/output/raop_output_plugin.c
+++ b/src/output/raop_output_plugin.c
@@ -447,7 +447,7 @@ get_time_for_rtp(struct play_state *state, struct timeval *tout)
/*
* Send a control command
*/
-bool
+static bool
send_control_command(struct control_data *ctrl, struct raop_data *rd, struct play_state *state)
{
unsigned char buf[20];
diff --git a/src/output/raop_output_plugin.h b/src/output/raop_output_plugin.h
index 2995414de..a3401c1d0 100644
--- a/src/output/raop_output_plugin.h
+++ b/src/output/raop_output_plugin.h
@@ -121,9 +121,6 @@ struct control_data {
int fd;
};
-bool
-send_control_command(struct control_data *ctrl, struct raop_data *rd, struct play_state *state);
-
/*********************************************************************/
#define NUMSAMPLES 352