]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: fd: uninline compute_poll_timeout()
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 17:55:29 +0000 (19:55 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 23:41:14 +0000 (01:41 +0200)
commitb63888c67ced3b83fe23834ebf24209f1b29339d
treed90f7798d55674db7f7af77d244c644499164546
parentc91f608bcb385a31540313c0cf805a1b08ae5c45
REORG: fd: uninline compute_poll_timeout()

It's not needed to inline it at all (one call per loop) and it introduces
dependencies, let's move it to fd.c.

Removing the few remaining includes that came with it further reduced
by ~0.2% the LoC and the build time is now below 6s.
include/haproxy/fd.h
src/fd.c