aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-09-02 01:45:35 -0700
committerEric Wong <normalperson@yhbt.net>2008-09-02 01:45:35 -0700
commitbdd73a177f94233f9d690450f080ac87b94e1cea (patch)
tree8930fe53c6b126fd2b13f7a84e46f47112c74198 /src
parentdd7f8a723efa9c9edce951981aef7f3adf814134 (diff)
downloadmpd-bdd73a177f94233f9d690450f080ac87b94e1cea.tar.gz
mpd-bdd73a177f94233f9d690450f080ac87b94e1cea.tar.xz
mpd-bdd73a177f94233f9d690450f080ac87b94e1cea.zip
Add missing function prototypes
Diffstat (limited to 'src')
-rw-r--r--src/metadata_pipe.c4
-rw-r--r--src/outputBuffer.c2
-rw-r--r--src/outputBuffer.h3
-rw-r--r--src/playlist.h2
4 files changed, 7 insertions, 4 deletions
diff --git a/src/metadata_pipe.c b/src/metadata_pipe.c
index 5508b97c8..d5bef630e 100644
--- a/src/metadata_pipe.c
+++ b/src/metadata_pipe.c
@@ -24,10 +24,6 @@
#include "outputBuffer.h"
#include "gcc.h"
-/* These are defined in outputBuffer_accessors.h, cleanup is needed */
-mpd_uint8 ob_get_decoder_sequence(void);
-mpd_uint8 ob_get_player_sequence(void);
-
static struct ringbuf *mp;
/* Each one of these is a packet inside the metadata pipe */
diff --git a/src/outputBuffer.c b/src/outputBuffer.c
index 8a41924db..a9a64712a 100644
--- a/src/outputBuffer.c
+++ b/src/outputBuffer.c
@@ -28,6 +28,8 @@
#include "log.h"
#include "action_status.h"
#include "decode.h"
+#include "metadata_pipe.h"
+#include "playlist.h"
/* typically have 2048-4096 of these structs, so pack tightly */
struct ob_chunk {
diff --git a/src/outputBuffer.h b/src/outputBuffer.h
index 3fc440af3..022f7ecdc 100644
--- a/src/outputBuffer.h
+++ b/src/outputBuffer.h
@@ -106,4 +106,7 @@ void ob_flush(void);
void config_output_buffer(void);
void init_output_buffer(void);
+mpd_uint8 ob_get_decoder_sequence(void);
+
+mpd_uint8 ob_get_player_sequence(void);
#endif
diff --git a/src/playlist.h b/src/playlist.h
index 0bcc9680a..c51cb4d73 100644
--- a/src/playlist.h
+++ b/src/playlist.h
@@ -128,4 +128,6 @@ void findSongsInPlaylist(int fd, int numItems, LocateTagItem * items);
int valid_playlist_name(int err_fd, const char *utf8path);
+MpdTag *playlist_current_tag(void);
+
#endif