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/libutil/mem_pool_internal.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/libutil/mem_pool_internal.h')
-rw-r--r-- | src/libutil/mem_pool_internal.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libutil/mem_pool_internal.h b/src/libutil/mem_pool_internal.h index 4fea83994..9fff5c7de 100644 --- a/src/libutil/mem_pool_internal.h +++ b/src/libutil/mem_pool_internal.h @@ -33,15 +33,15 @@ enum rspamd_mempool_chain_type { #define ENTRY_NELTS 64 struct entry_elt { - guint32 fragmentation; - guint32 leftover; + uint32_t fragmentation; + uint32_t leftover; }; struct rspamd_mempool_entry_point { gchar src[ENTRY_LEN]; - guint32 cur_suggestion; - guint32 cur_elts; - guint32 cur_vars; + uint32_t cur_suggestion; + uint32_t cur_elts; + uint32_t cur_vars; struct entry_elt elts[ENTRY_NELTS]; }; @@ -63,7 +63,7 @@ struct rspamd_mempool_variable { }; KHASH_INIT(rspamd_mempool_vars_hash, - guint32, struct rspamd_mempool_variable, 1, + uint32_t, struct rspamd_mempool_variable, 1, kh_int_hash_func, kh_int_hash_equal); struct rspamd_mempool_specific { |