aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-09-11 07:55:19 +0200
committerMax Kellermann <max@duempel.org>2011-09-11 07:55:19 +0200
commit14d573cbf1e540a87bed3e9384ba16fed990cc4f (patch)
treef9f021679769f5917ad8d0dd1cd3a80e28e9c5d8
parent7819aa6b2060b600b9ec2471f250038eeebae523 (diff)
downloadmpd-14d573cbf1e540a87bed3e9384ba16fed990cc4f.tar.gz
mpd-14d573cbf1e540a87bed3e9384ba16fed990cc4f.tar.xz
mpd-14d573cbf1e540a87bed3e9384ba16fed990cc4f.zip
playlist: move PLAYLIST_COMMENT to stored_playlist.c
Only used there.
Diffstat (limited to '')
-rw-r--r--src/playlist.h2
-rw-r--r--src/stored_playlist.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/playlist.h b/src/playlist.h
index 569db7bc3..83416e5df 100644
--- a/src/playlist.h
+++ b/src/playlist.h
@@ -24,8 +24,6 @@
#include <stdbool.h>
-#define PLAYLIST_COMMENT '#'
-
struct player_control;
enum playlist_result {
diff --git a/src/stored_playlist.c b/src/stored_playlist.c
index 9b3ec4a7f..c3785a6f3 100644
--- a/src/stored_playlist.c
+++ b/src/stored_playlist.c
@@ -37,6 +37,8 @@
#include <string.h>
#include <errno.h>
+static const char PLAYLIST_COMMENT = '#';
+
static unsigned playlist_max_length;
bool playlist_saveAbsolutePaths = DEFAULT_PLAYLIST_SAVE_ABSOLUTE_PATHS;