aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-08 10:48:48 +0200
committerMax Kellermann <max@duempel.org>2008-10-08 10:48:48 +0200
commit7b9bed8398137e90538908a24467633029b1c307 (patch)
treebe142d5e64ba61acae701dcf5e459e067ab6f166 /src/main.c
parent4cfd356e1266ccf4ebb4082ca62e978dc827adc0 (diff)
downloadmpd-7b9bed8398137e90538908a24467633029b1c307.tar.gz
mpd-7b9bed8398137e90538908a24467633029b1c307.tar.xz
mpd-7b9bed8398137e90538908a24467633029b1c307.zip
directory: moved code to update.c
The source directory.c mixes several libraries: directory object management, database management and database update, resulting in a 1000+ line monster. Move the whole database update code to update.c.
Diffstat (limited to '')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 202450690..e8e5fd84f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -20,6 +20,7 @@
#include "command.h"
#include "playlist.h"
#include "directory.h"
+#include "update.h"
#include "player_thread.h"
#include "listen.h"
#include "conf.h"