summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-10 16:40:06 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-10 16:40:06 +0300
commite046ad1c14fcfaf32e8d00617848a45220494c1e (patch)
treeecaeaf8014288d4a881cf859661ed4d2210cbbce /src/map/init.c
parent05c7af3f7b93a0cab5a00c3930e55747452de410 (diff)
downloadplugin-e046ad1c14fcfaf32e8d00617848a45220494c1e.tar.gz
plugin-e046ad1c14fcfaf32e8d00617848a45220494c1e.tar.bz2
plugin-e046ad1c14fcfaf32e8d00617848a45220494c1e.tar.xz
plugin-e046ad1c14fcfaf32e8d00617848a45220494c1e.zip
Fix style in init files.
Diffstat (limited to 'src/map/init.c')
-rw-r--r--src/map/init.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/map/init.c b/src/map/init.c
index fe4d6d2..c9536e7 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -28,12 +28,10 @@ HPExport struct hplugin_info pinfo =
HPM_VERSION
};
-/* run when server starts */
-HPExport void plugin_init (void) {
- /* core interfaces */
+HPExport void plugin_init (void)
+{
iMalloc = GET_SYMBOL("iMalloc");
- /* map-server interfaces */
script = GET_SYMBOL("script");
clif = GET_SYMBOL("clif");
pc = GET_SYMBOL("pc");
@@ -64,11 +62,14 @@ HPExport void plugin_init (void) {
addPacket(0x7530, 22, map_parse_version, hpClif_Parse);
}
-HPExport void server_preinit (void) {
+HPExport void server_preinit (void)
+{
}
-HPExport void server_online (void) {
+HPExport void server_online (void)
+{
}
-HPExport void plugin_final (void) {
+HPExport void plugin_final (void)
+{
}