]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: compiler: add the container_of() and container_of_safe() macros
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 16:11:38 +0000 (18:11 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 23:36:51 +0000 (01:36 +0200)
commit337f23a11202294948527d020a98967122d870fd
treedf315617dcf987c705752e965d9ba9c0b3448aee
parent74f2456c4228470b1c70422136b75226d8e42e5e
BUILD: compiler: add the container_of() and container_of_safe() macros

These ones are called from a few places in the code and are only provided
by ebtree.h, which is not normal given that some callers do not even use
ebtree.
include/haproxy/compiler.h