diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-30 13:56:27 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-30 13:56:27 +0000 |
commit | c8db14a97b3d3ba0d8a255e57d941968e265ef1c (patch) | |
tree | 969ebd73f2b0f1da94f4ee7bd7aa316ef63b8b2b /src/map/mercenary.c | |
parent | 9f0ff780a9b3de47895dfeb20417390d2bd9dc93 (diff) | |
download | hercules-c8db14a97b3d3ba0d8a255e57d941968e265ef1c.tar.gz hercules-c8db14a97b3d3ba0d8a255e57d941968e265ef1c.tar.bz2 hercules-c8db14a97b3d3ba0d8a255e57d941968e265ef1c.tar.xz hercules-c8db14a97b3d3ba0d8a255e57d941968e265ef1c.zip |
- Fixed char-sql compilation
- Added support for reading the item_db_db inter config settings (char-sql)
- Fixed some compile warnings (functions with no arguments should have a (void) instead of ()).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8546 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mercenary.c')
-rw-r--r-- | src/map/mercenary.c | 14 |
1 files changed, 7 insertions, 7 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);
|