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/itemdb.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/itemdb.c')
-rw-r--r-- | src/map/itemdb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/itemdb.c b/src/map/itemdb.c index 048efd636..6b888c23e 100644 --- a/src/map/itemdb.c +++ b/src/map/itemdb.c @@ -1254,7 +1254,8 @@ int itemdb_combo_split_atoi (char *str, int *val) { /** * <combo{:combo{:combo:{..}}}>,<{ script }> **/ -void itemdb_read_combos() { +void itemdb_read_combos(void) +{ uint32 lines = 0, count = 0; char line[1024]; char filepath[256]; |