aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/directory.c18
-rw-r--r--src/directory.h2
2 files changed, 0 insertions, 20 deletions
diff --git a/src/directory.c b/src/directory.c
index 0fec43387..14d1a5b55 100644
--- a/src/directory.c
+++ b/src/directory.c
@@ -1135,24 +1135,6 @@ int readDirectoryDB(void)
return 0;
}
-void updateMp3Directory(void)
-{
- switch (updateDirectory(mp3rootDirectory)) {
- case 0:
- /* nothing updated */
- return;
- case 1:
- if (writeDirectoryDB() < 0)
- exit(EXIT_FAILURE);
- break;
- default:
- /* something was updated and db should be written */
- FATAL("problems updating music db\n");
- }
-
- return;
-}
-
static int traverseAllInSubDirectory(Directory * directory,
int (*forEachSong) (Song *, void *),
int (*forEachDir) (Directory *, void *),
diff --git a/src/directory.h b/src/directory.h
index 63ff6a548..252224a6b 100644
--- a/src/directory.h
+++ b/src/directory.h
@@ -60,8 +60,6 @@ int writeDirectoryDB(void);
int readDirectoryDB(void);
-void updateMp3Directory(void);
-
Song *getSongFromDB(const char *file);
time_t getDbModTime(void);