summaryrefslogtreecommitdiff
path: root/nncmpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'nncmpp.c')
-rw-r--r--nncmpp.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/nncmpp.c b/nncmpp.c
index e5e98a4..c2090c3 100644
--- a/nncmpp.c
+++ b/nncmpp.c
@@ -62,11 +62,9 @@ enum
#define LIBERTY_WANT_POLLER
#define LIBERTY_WANT_ASYNC
#define LIBERTY_WANT_PROTO_HTTP
+#define LIBERTY_WANT_PROTO_MPD
#include "liberty/liberty.c"
-#include <sys/un.h>
-#include "mpd.c"
-
#include <locale.h>
#include <termios.h>
#ifndef TIOCGWINSZ
@@ -2395,9 +2393,6 @@ debug_tab_init (void)
// --- MPD interface -----------------------------------------------------------
-// TODO: this entire thing has been slavishly copy-pasted from dwmstatus
-// TODO: try to move some of this code to mpd.c
-
static void
mpd_update_playback_state (void)
{