diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-03-18 14:56:16 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-03-18 14:56:16 +0000 |
commit | 6b2b4167187fee09365271cca182866ecb029af3 (patch) | |
tree | a085717bc896b25ff4280eb86abecca0d5c36767 /src/libserver/logger.h | |
parent | 47bcfc8360dfa1754474580e779314b8d6a78da6 (diff) | |
download | rspamd-6b2b4167187fee09365271cca182866ecb029af3.tar.gz rspamd-6b2b4167187fee09365271cca182866ecb029af3.zip |
[Rework] Remove some of the GLib types in lieu of standard ones
This types have constant conflicts with the system ones especially on OSX.
Diffstat (limited to 'src/libserver/logger.h')
-rw-r--r-- | src/libserver/logger.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserver/logger.h b/src/libserver/logger.h index 8d4e313a8..4d8a6ec81 100644 --- a/src/libserver/logger.h +++ b/src/libserver/logger.h @@ -189,7 +189,7 @@ bool rspamd_conditional_debug_fast(rspamd_logger_t *logger, bool rspamd_conditional_debug_fast_num_id(rspamd_logger_t *logger, rspamd_inet_addr_t *addr, gint mod_id, - const gchar *module, guint64 id, + const gchar *module, uint64_t id, const gchar *function, const gchar *fmt, ...); gboolean rspamd_logger_need_log(rspamd_logger_t *rspamd_log, GLogLevelFlags log_level, @@ -234,7 +234,7 @@ void rspamd_log_nodebug(rspamd_logger_t *logger); * 2 - info messages * 3 - debug messages */ -const guint64 *rspamd_log_counters(rspamd_logger_t *logger); +const uint64_t *rspamd_log_counters(rspamd_logger_t *logger); /** * Returns errors ring buffer as ucl array |