aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-02 19:00:28 +0200
committerMax Kellermann <max@duempel.org>2008-10-02 19:00:28 +0200
commita3f209be26e588397f7b96de73fb86625c6d2bb8 (patch)
tree32d64785eff9456e2ad3b21f6c03822a444e076f /src/main.c
parent45ff31548dc68c27e1af6fdf37945de97579f5f9 (diff)
downloadmpd-a3f209be26e588397f7b96de73fb86625c6d2bb8.tar.gz
mpd-a3f209be26e588397f7b96de73fb86625c6d2bb8.tar.xz
mpd-a3f209be26e588397f7b96de73fb86625c6d2bb8.zip
moved macros from ncmpc.h to main.c and screen.c
Moved constants which are only used in one source file. Remove several unused macros.
Diffstat (limited to '')
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 641b12e35..6d83dac6c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -41,6 +41,9 @@
#include <signal.h>
#include <string.h>
+/* time between mpd updates [s] */
+static const float MPD_UPDATE_TIME = 0.5;
+
#define BUFSIZE 1024
static const guint idle_interval = 500;