summaryrefslogtreecommitdiff
path: root/src/common/core.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-05-17 22:03:06 -0300
committershennetsind <ind@henn.et>2013-05-17 22:03:06 -0300
commit21bbfad48084190b8a6881ee3b277993418a5137 (patch)
tree2c8cf1d4a83bb0a7bea2a7e81c003fc240185207 /src/common/core.c
parent104bb6c05dc8effef9db715f0b708d4548e10010 (diff)
parentb3bc657a44a9fbdd1730f569855e25ccd0f8dd01 (diff)
downloadhercules-21bbfad48084190b8a6881ee3b277993418a5137.tar.gz
hercules-21bbfad48084190b8a6881ee3b277993418a5137.tar.bz2
hercules-21bbfad48084190b8a6881ee3b277993418a5137.tar.xz
hercules-21bbfad48084190b8a6881ee3b277993418a5137.zip
Follow up b3bc657a44a9fbdd1730f569855e25ccd0f8dd01
Adjusting it to the ERS modification, my IDE automatically fixed some indentation that i guess was accidentally removed. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/common/core.c')
-rw-r--r--src/common/core.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/common/core.c b/src/common/core.c
index 984815bc2..0959e6fc9 100644
--- a/src/common/core.c
+++ b/src/common/core.c
@@ -284,9 +284,11 @@ void core_defaults(void) {
#endif
console_defaults();
strlib_defaults();
+ malloc_defaults();
#ifndef MINICORE
sql_defaults();
timer_defaults();
+ db_defaults();
#endif
}
/*======================================
@@ -305,7 +307,7 @@ int main (int argc, char **argv) {
}
core_defaults();
- malloc_init();// needed for Show* in display_title() [FlavioJS]
+ malloclib->init();// needed for Show* in display_title() [FlavioJS]
console->display_title();
@@ -320,7 +322,7 @@ int main (int argc, char **argv) {
Sql_Init();
rathread_init();
mempool_init();
- db_init();
+ DB->init();
signals_init();
#ifdef _WIN32
@@ -354,12 +356,12 @@ int main (int argc, char **argv) {
#endif
timer_final();
socket_final();
- db_final();
+ DB->final();
mempool_final();
rathread_final();
#endif
- malloc_final();
+ malloclib->final();
return 0;
}