]> git.kaiwu.me - haproxy.git/commit
CLEANUP: debug: move ha_backtrace_to_stderr() declaration to bug.h
authorWilly Tarreau <w@1wt.eu>
Tue, 11 Aug 2026 06:05:35 +0000 (08:05 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 13 Aug 2026 15:43:30 +0000 (17:43 +0200)
commit9b5f8f9730a2000c7401e7053972b4dba6b8870c
tree6e21beb31fb48dba96a1e267081e57671b2dc9d1
parent74b190e38925028a01a00eaba23763da7c4cf358
CLEANUP: debug: move ha_backtrace_to_stderr() declaration to bug.h

The DUMP_TRACE() macro was made just to manually reference the external
ha_backtrace_to_stderr() function that is defined in debug.h, but this
makes the code even harder to follow. In fact, the current rule that
bug.h contains all mandatory declarations and that debug.h contains the
optional ones is not respected here, so let's just move the declaration
there and get rid of the macro.
include/haproxy/bug.h
include/haproxy/debug.h