summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/char/int_elemental.c4
-rw-r--r--src/char/int_elemental.h2
-rw-r--r--src/char/inter.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/char/int_elemental.c b/src/char/int_elemental.c
index 0146c8926..d81e10f84 100644
--- a/src/char/int_elemental.c
+++ b/src/char/int_elemental.c
@@ -138,8 +138,8 @@ static void mapif_parse_elemental_save(int fd, struct s_elemental* ele) {
mapif_elemental_saved(fd, result);
}
-int inter_elemental_sql_init(void) {
- return 0;
+void inter_elemental_sql_init(void) {
+ return;
}
void inter_elemental_sql_final(void) {
return;
diff --git a/src/char/int_elemental.h b/src/char/int_elemental.h
index 89001dd95..7eb5c2958 100644
--- a/src/char/int_elemental.h
+++ b/src/char/int_elemental.h
@@ -6,7 +6,7 @@
struct s_elemental;
-int inter_elemental_sql_init(void);
+void inter_elemental_sql_init(void);
void inter_elemental_sql_final(void);
int inter_elemental_parse_frommap(int fd);
diff --git a/src/char/inter.c b/src/char/inter.c
index 8d40963df..16cd356ab 100644
--- a/src/char/inter.c
+++ b/src/char/inter.c
@@ -815,7 +815,7 @@ void inter_final(void)
inter_pet_sql_final();
inter_homunculus_sql_final();
inter_mercenary_sql_final();
- inter_elemental_sql_init();
+ inter_elemental_sql_final();
inter_mail_sql_final();
inter_auction_sql_final();