Commit fd2f9b8e authored by Avuton Olrich's avatar Avuton Olrich

Fix the undefined reference to `playerInitReal'

git-svn-id: https://svn.musicpd.org/mpd/trunk@4343 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent fdf1afc8
......@@ -102,7 +102,7 @@ int playerInit() {
return 0;
}
static int playerInitReal() {
int playerInitReal() {
int player_pid;
blockSignals();
player_pid = fork();
......
......@@ -89,6 +89,8 @@ typedef struct _PlayerControl {
MetadataChunk fileMetadataChunk;
} PlayerControl;
int playerInitReal();
void player_sigChldHandler(int pid, int status);
int playerPlay(FILE * fp, Song * song);
......
......@@ -33,7 +33,7 @@ int buffered_chunks;
#define DEFAULT_BUFFER_SIZE 2048
#define DEFAULT_BUFFER_BEFORE_PLAY 0
PlayerData * playerData_pd;
static PlayerData * playerData_pd;
int * player_pid;
void initPlayerData() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment