main: renamed openDB() to glue_db_init_and_load()

No CamelCase.
This commit is contained in:
Max Kellermann 2009-07-15 18:58:10 +02:00
parent 7261739526
commit 739984f920

View File

@ -96,7 +96,7 @@ struct notify main_notify;
* process has been daemonized. * process has been daemonized.
*/ */
static bool 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); const char *path = config_get_path(CONF_DB_FILE);
bool ret; bool ret;
@ -289,7 +289,7 @@ int main(int argc, char *argv[])
decoder_plugin_init_all(); decoder_plugin_init_all();
update_global_init(); update_global_init();
create_db = !openDB(&options); create_db = !glue_db_init_and_load(&options);
#ifdef ENABLE_SQLITE #ifdef ENABLE_SQLITE
success = sticker_global_init(config_get_path(CONF_STICKER_FILE), success = sticker_global_init(config_get_path(CONF_STICKER_FILE),