aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_error.h
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-10-02 03:24:21 -0700
committerEric Wong <normalperson@yhbt.net>2008-10-02 03:24:21 -0700
commitbf402578ab5bd9bc35bb5539d381d5612d19d40b (patch)
tree9dfa45ebb1cea9e96b9b598bb5e89eeaa24a0ae0 /src/player_error.h
parentfcbcdd9869e3147fe4a30ba808af294f680c9373 (diff)
downloadmpd-bf402578ab5bd9bc35bb5539d381d5612d19d40b.tar.gz
mpd-bf402578ab5bd9bc35bb5539d381d5612d19d40b.tar.xz
mpd-bf402578ab5bd9bc35bb5539d381d5612d19d40b.zip
Revert "Start using song pointers in core data structures"
This actually opened us up to making lock dependencies more difficult than they needed to be now that we have threaded updates. We would always use the memory anyways, just in the stack instead of bss.
Diffstat (limited to '')
-rw-r--r--src/player_error.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/player_error.h b/src/player_error.h
index c90c98420..997cb4604 100644
--- a/src/player_error.h
+++ b/src/player_error.h
@@ -19,8 +19,6 @@
#ifndef PLAYER_ERROR_H
#define PLAYER_ERROR_H
-#include "song.h"
-
enum player_error {
PLAYER_ERROR_NONE = 0,
PLAYER_ERROR_FILE,
@@ -31,10 +29,9 @@ enum player_error {
};
extern enum player_error player_errno;
-extern Song *player_errsong;
void player_clearerror(void);
-void player_seterror(enum player_error err, Song *song);
+void player_seterror(enum player_error err, const char *url);
const char *player_strerror(void);
#endif /* PLAYER_ERROR_H */