diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2016-10-11 09:40:01 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2016-10-11 10:58:38 +0200 |
commit | 4542bdd239f3f3d89fb9f60a0198ab76452e9c4e (patch) | |
tree | a1d021465738dc7e1769e1fded43641545a49eea /nncmpp.c | |
parent | fb75841154c0eb20d525b0363781520df0560fac (diff) | |
download | nncmpp-4542bdd239f3f3d89fb9f60a0198ab76452e9c4e.tar.gz nncmpp-4542bdd239f3f3d89fb9f60a0198ab76452e9c4e.tar.xz nncmpp-4542bdd239f3f3d89fb9f60a0198ab76452e9c4e.zip |
Move the MPD client interface to liberty
It seems like there aren't going to be any big changes any time soon.
Diffstat (limited to 'nncmpp.c')
-rw-r--r-- | nncmpp.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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) { |