aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
-rw-r--r--src/update.c8
-rw-r--r--src/update.h4
3 files changed, 14 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 972aa32bb..538b559ee 100644
--- a/src/main.c
+++ b/src/main.c
@@ -416,6 +416,7 @@ int main(int argc, char *argv[])
initPermissions();
initPlaylist();
decoder_plugin_init_all();
+ update_global_init();
init_main_notify();
@@ -497,6 +498,7 @@ int main(int argc, char *argv[])
dc_deinit();
pc_deinit();
command_finish();
+ update_global_finish();
decoder_plugin_deinit_all();
music_pipe_free();
cleanUpPidFile();
diff --git a/src/update.c b/src/update.c
index 8abc15f64..b4f02d59c 100644
--- a/src/update.c
+++ b/src/update.c
@@ -580,3 +580,11 @@ void reap_update_task(void)
progress = UPDATE_PROGRESS_IDLE;
}
}
+
+void update_global_init(void)
+{
+}
+
+void update_global_finish(void)
+{
+}
diff --git a/src/update.h b/src/update.h
index 4a91061b7..b43ae4c67 100644
--- a/src/update.h
+++ b/src/update.h
@@ -20,6 +20,10 @@
#ifndef MPD_UPDATE_H
#define MPD_UPDATE_H
+void update_global_init(void);
+
+void update_global_finish(void);
+
unsigned
isUpdatingDB(void);