diff options
author | Max Kellermann <max@duempel.org> | 2009-01-04 17:26:12 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-04 17:26:12 +0100 |
commit | 77d3643036573ad55cdfc45ed197996d7a5c28d2 (patch) | |
tree | 2e52ce2bf1aa5bcbbda94652c325b9bf20adcd98 /src/ls.c | |
parent | 599d5820bce424625e54e2486191437a012ff1dc (diff) | |
download | mpd-77d3643036573ad55cdfc45ed197996d7a5c28d2.tar.gz mpd-77d3643036573ad55cdfc45ed197996d7a5c28d2.tar.xz mpd-77d3643036573ad55cdfc45ed197996d7a5c28d2.zip |
ls: include cleanup
Don't include headers which are not used. Fix some includes in
decoder_thread.c.
Diffstat (limited to '')
-rw-r--r-- | src/ls.c | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -17,12 +17,10 @@ */ #include "ls.h" -#include "playlist.h" -#include "path.h" #include "client.h" -#include "log.h" -#include "stored_playlist.h" #include "config.h" +#include "decoder_list.h" +#include "archive_list.h" #include <string.h> @@ -78,8 +76,8 @@ hasMusicSuffix(const char *utf8file, unsigned int next) if (s) { ret = decoder_plugin_from_suffix(s, next); } else { - DEBUG("hasMusicSuffix: The file: %s has no valid suffix\n", - utf8file); + g_debug("hasMusicSuffix: The file: %s has no valid suffix\n", + utf8file); } return ret; |