diff options
author | Haru <haru@dotalux.com> | 2016-01-09 19:06:29 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-01-09 19:11:01 +0100 |
commit | 10f9f4282097f177d6ee0b26572dcf4308e6d6fb (patch) | |
tree | 0c010c11403697a03baa4c783366e781a118ebc9 /src/map/pet.c | |
parent | 25edecdacfba89de097e61fd0958236a8cd90a6b (diff) | |
download | hercules-10f9f4282097f177d6ee0b26572dcf4308e6d6fb.tar.gz hercules-10f9f4282097f177d6ee0b26572dcf4308e6d6fb.tar.bz2 hercules-10f9f4282097f177d6ee0b26572dcf4308e6d6fb.tar.xz hercules-10f9f4282097f177d6ee0b26572dcf4308e6d6fb.zip |
Corrected various zero-argument function definitions
- Functions should always specify their arguments, even if they take
none. In C, not specifying arguments is different than specifying
(void).
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/pet.c')
-rw-r--r-- | src/map/pet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pet.c b/src/map/pet.c index db8d0d1f1..c6f7e8cca 100644 --- a/src/map/pet.c +++ b/src/map/pet.c @@ -1178,7 +1178,7 @@ int pet_skill_support_timer(int tid, int64 tick, int id, intptr_t data) { /** * Loads (or reloads) the pet database. */ -int read_petdb() +int read_petdb(void) { const char *filename[] = { DBPATH"pet_db.txt", |