commit | 8c4927098e994e26441db64e77eba11b9757b915 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Jan 01 17:10:50 2022 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Jan 02 12:44:19 2022 +0100 |
tree | 51b7cb4c467f0a055784951fd79e998b7aa41508 | |
parent | 799f6143ca2a0a7ff8979ae5850b462363d76437 [diff] |
CLEANUP: pools: get rid of the POOL_LINK macro The POOL_LINK macro is now only used for debugging, and it still requires ifdefs around, which needlessly complicates the code. Let's replace it and the calling code with a new pair of macros: POOL_DEBUG_SET_MARK() and POOL_DEBUG_CHECK_MARK(), that respectively store and check the pool pointer in the extra location at the end of the pool. This removes 4 pairs of ifdefs in the middle of the code.