summaryrefslogtreecommitdiff
path: root/src/common/core.c
diff options
context:
space:
mode:
authorblacksirius <blacksirius@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-10 16:04:24 +0000
committerblacksirius <blacksirius@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-10 16:04:24 +0000
commite85c28ce148e0740697c76e9751b0d9cacbe67d1 (patch)
tree8ca92b709d2606a738e911eaaf9605efadc0c79e /src/common/core.c
parent76ed57676c0ed81a433f45c4350b5b5fcba11a7d (diff)
downloadhercules-e85c28ce148e0740697c76e9751b0d9cacbe67d1.tar.gz
hercules-e85c28ce148e0740697c76e9751b0d9cacbe67d1.tar.bz2
hercules-e85c28ce148e0740697c76e9751b0d9cacbe67d1.tar.xz
hercules-e85c28ce148e0740697c76e9751b0d9cacbe67d1.zip
- added some missing copyrights
- merged (bs-coreoptimize->trunk) generic athena style configuration parser (raconf) - merged (bs-coreoptimize->trunk) threadsafe memory pool (mempool) [i need it for the new 'socket' system] - set svn:eol-style property on newer files were it was missing git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16263 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/core.c')
-rw-r--r--src/common/core.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/core.c b/src/common/core.c
index 4e276fcdc..2923b4de7 100644
--- a/src/common/core.c
+++ b/src/common/core.c
@@ -10,6 +10,7 @@
#include "../common/socket.h"
#include "../common/timer.h"
#include "../common/thread.h"
+#include "../common/mempool.h"
#endif
#include <stdio.h>
@@ -280,7 +281,7 @@ int main (int argc, char **argv)
usercheck();
rathread_init();
-
+ mempool_init();
db_init();
signals_init();
@@ -306,7 +307,7 @@ int main (int argc, char **argv)
timer_final();
socket_final();
db_final();
-
+ mempool_final();
rathread_final();
#endif