diff options
author | Haru <haru@dotalux.com> | 2019-09-23 02:17:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-23 02:17:21 +0200 |
commit | 418b26dddca1d6ad9261adee56f96cf7c2c2de9b (patch) | |
tree | bd9c631b064f27f741e125a856e631dd6a13a9d6 /src/map/log.c | |
parent | 9a503ca86f8194135a86bad9070d64b21f56e2b6 (diff) | |
parent | 7ff0e074e74fd630f3bf90597605c82b4e10ec95 (diff) | |
download | hercules-418b26dddca1d6ad9261adee56f96cf7c2c2de9b.tar.gz hercules-418b26dddca1d6ad9261adee56f96cf7c2c2de9b.tar.bz2 hercules-418b26dddca1d6ad9261adee56f96cf7c2c2de9b.tar.xz hercules-418b26dddca1d6ad9261adee56f96cf7c2c2de9b.zip |
Merge pull request #2536 from MishimaHaruna/compile-fixes
Compile fixes
Diffstat (limited to 'src/map/log.c')
-rw-r--r-- | src/map/log.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/map/log.c b/src/map/log.c index 5bbca02a9..aa2f5f8f3 100644 --- a/src/map/log.c +++ b/src/map/log.c @@ -511,7 +511,7 @@ static void log_sql_final(void) /** * Initializes logs->config variables */ -void log_set_defaults(void) +static void log_set_defaults(void) { memset(&logs->config, 0, sizeof(logs->config)); @@ -540,7 +540,7 @@ void log_set_defaults(void) * * @retval false in case of error. */ -bool log_config_read_database(const char *filename, struct config_t *config, bool imported) +static bool log_config_read_database(const char *filename, struct config_t *config, bool imported) { struct config_setting_t *setting = NULL; @@ -596,7 +596,7 @@ bool log_config_read_database(const char *filename, struct config_t *config, boo * * @retval false in case of error. */ -bool log_config_read_filter_item(const char *filename, struct config_t *config, bool imported) +static bool log_config_read_filter_item(const char *filename, struct config_t *config, bool imported) { struct config_setting_t *setting = NULL; @@ -625,7 +625,7 @@ bool log_config_read_filter_item(const char *filename, struct config_t *config, * * @retval false in case of error. */ -bool log_config_read_filter_chat(const char *filename, struct config_t *config, bool imported) +static bool log_config_read_filter_chat(const char *filename, struct config_t *config, bool imported) { struct config_setting_t *setting = NULL; @@ -651,7 +651,7 @@ bool log_config_read_filter_chat(const char *filename, struct config_t *config, * * @retval false in case of error. */ -bool log_config_read_filter(const char *filename, struct config_t *config, bool imported) +static bool log_config_read_filter(const char *filename, struct config_t *config, bool imported) { bool retval = true; @@ -674,7 +674,7 @@ bool log_config_read_filter(const char *filename, struct config_t *config, bool * * @retval false in case of error. */ -bool log_config_read(const char *filename, bool imported) +static bool log_config_read(const char *filename, bool imported) { struct config_t config; struct config_setting_t *setting = NULL; @@ -755,7 +755,7 @@ bool log_config_read(const char *filename, bool imported) return retval; } -void log_config_complete(void) +static void log_config_complete(void) { if( logs->config.sql_logs ) { logs->pick_sub = log_pick_sub_sql; |