diff options
author | Haru <haru@dotalux.com> | 2016-02-16 18:07:52 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-02-17 10:40:44 +0100 |
commit | 03a5c603be2cf6d5feea9012029f8899c624557a (patch) | |
tree | 80c98e0f160700d7441c2642cd7489f7b8645177 /src/map/script.c | |
parent | 28588859a64fb03335ca5e4083fb6ad95d88db6e (diff) | |
download | hercules-03a5c603be2cf6d5feea9012029f8899c624557a.tar.gz hercules-03a5c603be2cf6d5feea9012029f8899c624557a.tar.bz2 hercules-03a5c603be2cf6d5feea9012029f8899c624557a.tar.xz hercules-03a5c603be2cf6d5feea9012029f8899c624557a.zip |
Removed unnecessary typedefs from libconfig
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/map/script.c b/src/map/script.c index eb8879a2a..e6a9c8ae4 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -2289,10 +2289,10 @@ void script_set_constant2(const char *name, int value, bool is_parameter, bool i */ void read_constdb(void) { - config_t constants_conf; + struct config_t constants_conf; char filepath[256]; - config_setting_t *cdb; - config_setting_t *t; + struct config_setting_t *cdb; + struct config_setting_t *t; int i = 0; sprintf(filepath, "%s/constants.conf", map->db_path); @@ -4803,9 +4803,9 @@ uint8 script_add_language(const char *name) { * Goes thru db/translations.conf file **/ void script_load_translations(void) { - config_t translations_conf; + struct config_t translations_conf; const char *config_filename = "db/translations.conf"; // FIXME hardcoded name - config_setting_t *translations = NULL; + struct config_setting_t *translations = NULL; int i, size; uint32 total = 0; uint8 lang_id = 0, k; |