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.h | |
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.h')
-rw-r--r-- | src/map/itemdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/itemdb.h b/src/map/itemdb.h index d751451c6..cde73f3b4 100644 --- a/src/map/itemdb.h +++ b/src/map/itemdb.h @@ -626,7 +626,7 @@ struct itemdb_interface { int (*isidentified) (int nameid); int (*isidentified2) (struct item_data *data); int (*combo_split_atoi) (char *str, int *val); - void (*read_combos) (); + void (*read_combos) (void); int (*gendercheck) (struct item_data *id); int (*validate_entry) (struct item_data *entry, int n, const char *source); void (*readdb_additional_fields) (int itemid, config_setting_t *it, int n, const char *source); |