aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-07-15 18:58:10 +0200
committerMax Kellermann <max@duempel.org>2009-07-15 18:58:10 +0200
commit739984f920504752ad2863449e8f611e9ef765e2 (patch)
treef3b244d8a9971422ff2495af670e958dee6b838a
parent7261739526312f4ce8695fbd75a61a7cc5e3b9d3 (diff)
downloadmpd-739984f920504752ad2863449e8f611e9ef765e2.tar.gz
mpd-739984f920504752ad2863449e8f611e9ef765e2.tar.xz
mpd-739984f920504752ad2863449e8f611e9ef765e2.zip
main: renamed openDB() to glue_db_init_and_load()
No CamelCase.
Diffstat (limited to '')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 8e7375be2..f176a9da9 100644
--- a/src/main.c
+++ b/src/main.c
@@ -96,7 +96,7 @@ struct notify main_notify;
* process has been daemonized.
*/
static bool
-openDB(const struct options *options)
+glue_db_init_and_load(const struct options *options)
{
const char *path = config_get_path(CONF_DB_FILE);
bool ret;
@@ -289,7 +289,7 @@ int main(int argc, char *argv[])
decoder_plugin_init_all();
update_global_init();
- create_db = !openDB(&options);
+ create_db = !glue_db_init_and_load(&options);
#ifdef ENABLE_SQLITE
success = sticker_global_init(config_get_path(CONF_STICKER_FILE),