summaryrefslogtreecommitdiffstats
path: root/mpd-notification.c
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-09-30 01:39:22 +0200
committerGravatar Christian Hesse <mail@eworm.de>2014-09-30 01:39:22 +0200
commit1a8009f4773c591717775c4a768ae61030c52453 (patch)
treea64708f7c16a7a4177fd0fea8f98e1711ac6538a /mpd-notification.c
parent95dffa689a440690ed9b3a1c8b353e62ccebb9ce (diff)
downloadmpd-notification-1a8009f4773c591717775c4a768ae61030c52453.tar.gz
mpd-notification-1a8009f4773c591717775c4a768ae61030c52453.tar.zst
introduce mpd-notification.h
Diffstat (limited to 'mpd-notification.c')
-rw-r--r--mpd-notification.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/mpd-notification.c b/mpd-notification.c
index b647a8c..00a9110 100644
--- a/mpd-notification.c
+++ b/mpd-notification.c
@@ -5,24 +5,7 @@
* of the GNU General Public License, incorporated herein by reference.
*/
-#include <mpd/client.h>
-
-#include <libnotify/notify.h>
-
-#include <stdio.h>
-#include <unistd.h>
-#include <stdlib.h>
-#include <string.h>
-#include <signal.h>
-#include <getopt.h>
-#include <regex.h>
-
-#include "config.h"
-#include "version.h"
-
-#define PROGNAME "mpd-notification"
-
-#define NOTIFICATION_TIMEOUT 10000
+#include "mpd-notification.h"
const static char optstring[] = "hH:m:p:v";
const static struct option options_long[] = {