]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: debug: re-export thread_dump_state
authorWilly Tarreau <w@1wt.eu>
Fri, 1 Jul 2022 19:18:03 +0000 (21:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 1 Jul 2022 19:18:03 +0000 (21:18 +0200)
commit89ed89e895a77249a56ee179a803c5d408788683
tree1352601252455647996bd245b650dd70c110328d
parent039972b4e5d81aff61dacf77c5a36570453fbd95
BUILD: debug: re-export thread_dump_state

Building with threads and without thread dump (e.g. macos, freebsd)
warns that thread_dump_state is unused. This happened in fact with
recentcommit 1229ef312 ("MINOR: wdt: do not rely on threads_to_dump
anymore"). The solution would be to mark it unused, but after a
second thought, it can be convenient to keep it exported to help
debug crashes, so let's export it again. It's just not referenced in
include files since it's not needed outside.
src/debug.c