summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/mercenary.c14
-rw-r--r--src/map/mercenary.h5
2 files changed, 9 insertions, 10 deletions
diff --git a/src/map/mercenary.c b/src/map/mercenary.c
index 472f402c6..2c3cbdf52 100644
--- a/src/map/mercenary.c
+++ b/src/map/mercenary.c
@@ -793,7 +793,7 @@ void merc_hom_revive(struct homun_data *hd, unsigned int hp, unsigned int sp)
clif_homskillinfoblock(sd);
}
-int read_homunculusdb()
+int read_homunculusdb(void)
{
FILE *fp;
char line[1024], *p;
@@ -881,7 +881,7 @@ int read_homunculusdb()
return 0;
}
-int read_homunculus_skilldb()
+int read_homunculus_skilldb(void)
{
FILE *fp;
char line[1024], *p;
@@ -949,7 +949,7 @@ int read_homunculus_skilldb()
return 0;
}
-void read_homunculus_expdb()
+void read_homunculus_expdb(void)
{
FILE *fp;
char line[1024];
@@ -985,18 +985,18 @@ void read_homunculus_expdb()
}
}
-void merc_reload()
+void merc_reload(void)
{
read_homunculusdb();
read_homunculus_expdb();
}
-void merc_skill_reload()
+void merc_skill_reload(void)
{
read_homunculus_skilldb();
}
-int do_init_merc()
+int do_init_merc(void)
{
read_homunculusdb();
read_homunculus_expdb();
@@ -1006,4 +1006,4 @@ int do_init_merc()
return 0;
}
-int do_final_merc();
+int do_final_merc(void);
diff --git a/src/map/mercenary.h b/src/map/mercenary.h
index bf30d7fe0..d116db77e 100644
--- a/src/map/mercenary.h
+++ b/src/map/mercenary.h
@@ -75,6 +75,5 @@ int merc_hom_increase_intimacy(struct homun_data * hd, unsigned int value);
int merc_hom_decrease_intimacy(struct homun_data * hd, unsigned int value);
int merc_skill_tree_get_max(int id, int b_class);
void merc_hom_init_timers(struct homun_data * hd);
-void merc_skill_reload();
-void merc_reload();
-
+void merc_skill_reload(void);
+void merc_reload(void);